Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Ethan_Hunt · Apr 17, 2014 at 12:51 PM · androideclipselinkingunityandroidlibunity.so

UnsatisfiedLinkError while linking unity android lib project with eclipse project

I am new to unity using version4.3.4. I Made a small project in unity and exported it as an android project. Than made a test project and included my unity android project as a library in this testproject. It is getting compiled but when I try to run it on my device(Nexus 4), it crashes on launch with following error:-

04-17 17:03:01.763: E/AndroidRuntime(28252): Process: com.example.testapp, PID: 28252 04-17 17:03:01.763: E/AndroidRuntime(28252): java.lang.UnsatisfiedLinkError: Couldn't load libunity.so from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.testapp-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.testapp-1, /vendor/lib, /system/lib]]]: findLibrary returned null 04-17 17:03:01.763: E/AndroidRuntime(28252): at java.lang.Runtime.loadLibrary(Runtime.java:35 04-17 17:03:01.763: E/AndroidRuntime(28252): at java.lang.System.loadLibrary(System.java:526) 04-17 17:03:01.763: E/AndroidRuntime(28252): at com.example.testapp.MainActivity.(MainActi vity.java:16) 04-17 17:03:01.763: E/AndroidRuntime(28252): at java.lang.Class.newInstanceImpl(Native Method) 04-17 17:03:01.763: E/AndroidRuntime(28252): at java.lang.Class.newInstance(Class.java:120 04-17 17:03:01.763: E/AndroidRuntime(28252): at android.app.Instrumentation.newActivity(Instrument ation.java:1061) 04-17 17:03:01.763: E/AndroidRuntime(28252): at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:2112) 04-17 17:03:01.763: E/AndroidRuntime(28252): at android.app.ActivityThread.handleLaunchActivity(Ac tivityThread.java:2245) 04-17 17:03:01.763: E/AndroidRuntime(28252): at android.app.ActivityThread.access$800(ActivityThre ad.java:135) 04-17 17:03:01.763: E/AndroidRuntime(28252): at android.app.ActivityThread$H.handleMessage(Activit yThread.java:1196) 04-17 17:03:01.763: E/AndroidRuntime(28252): at android.os.Handler.dispatchMessage(Handler.java:10 2) 04-17 17:03:01.763: E/AndroidRuntime(28252): at android.os.Looper.loop(Looper.java:136) 04-17 17:03:01.763: E/AndroidRuntime(28252): at android.app.ActivityThread.main(ActivityThread.jav a:5017) 04-17 17:03:01.763: E/AndroidRuntime(28252): at java.lang.reflect.Method.invokeNative(Native Method) 04-17 17:03:01.763: E/AndroidRuntime(28252): at java.lang.reflect.Method.invoke(Method.java:515) 04-17 17:03:01.763: E/AndroidRuntime(28252): at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:779) 04-17 17:03:01.763: E/AndroidRuntime(28252): at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:595) 04-17 17:03:01.763: E/AndroidRuntime(28252): at dalvik.system.NativeStart.main(Native Method)

Please help me solving it. Thanks in advance

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

20 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Integrating .jar file with unity 1 Answer

[ANDROID]Set Java Plugin on Unity 0 Answers

Can't run Android build in Emulator. "Unable to find native library: main" 1 Answer

Unity for Android Eclipse export 1 Answer

Exporting Google Android project from Unity 4 to Android Studio issue 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges