You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, there.
the IOS project does work very well without any issues, but android. Cocos Denshion seems not to be linked correctly. I think it's an unset/wrong set path or similar in Eclipse, but can't figure out the problem.
Before i ran a created project successfully (created via script "create_project.py" in cocos2d-x 2.1.4).
Do you have an idea, what went wrong?
System:
Mac OS X 10.8.4
Eclipse: ADT Bundle
Cocos2d-x 2.1.4
NDK: r9
Android: 4.3
Complete error messages:
09-20 03:26:55.887: W/dalvikvm(2567): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lorg/cocos2dx/simplegame/SimpleGame;
09-20 03:26:55.887: W/dalvikvm(2567): Class init failed in newInstance call (Lorg/cocos2dx/simplegame/SimpleGame;)
09-20 03:26:55.887: D/AndroidRuntime(2567): Shutting down VM
09-20 03:26:55.897: W/dalvikvm(2567): threadid=1: thread exiting with uncaught exception (group=0x41465700)
09-20 03:26:55.917: E/AndroidRuntime(2567): FATAL EXCEPTION: main
09-20 03:26:55.917: E/AndroidRuntime(2567): java.lang.UnsatisfiedLinkError: Couldn't load cocosdenshion from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.cocos2dx.simplegame-2.apk"],nativeLibraryDirectories=[/data/app-lib/org.cocos2dx.simplegame-2, /system/lib]]]: findLibrary returned null
09-20 03:26:55.917: E/AndroidRuntime(2567): at java.lang.Runtime.loadLibrary(Runtime.java:355)
09-20 03:26:55.917: E/AndroidRuntime(2567): at java.lang.System.loadLibrary(System.java:525)
09-20 03:26:55.917: E/AndroidRuntime(2567): at org.cocos2dx.simplegame.SimpleGame.(SimpleGame.java:47)
09-20 03:26:55.917: E/AndroidRuntime(2567): at java.lang.Class.newInstanceImpl(Native Method)
09-20 03:26:55.917: E/AndroidRuntime(2567): at java.lang.Class.newInstance(Class.java:1130)
09-20 03:26:55.917: E/AndroidRuntime(2567): at android.app.Instrumentation.newActivity(Instrumentation.java:1061)
09-20 03:26:55.917: E/AndroidRuntime(2567): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2128)
09-20 03:26:55.917: E/AndroidRuntime(2567): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
09-20 03:26:55.917: E/AndroidRuntime(2567): at android.app.ActivityThread.access$600(ActivityThread.java:141)
09-20 03:26:55.917: E/AndroidRuntime(2567): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
09-20 03:26:55.917: E/AndroidRuntime(2567): at android.os.Handler.dispatchMessage(Handler.java:99)
09-20 03:26:55.917: E/AndroidRuntime(2567): at android.os.Looper.loop(Looper.java:137)
09-20 03:26:55.917: E/AndroidRuntime(2567): at android.app.ActivityThread.main(ActivityThread.java:5103)
09-20 03:26:55.917: E/AndroidRuntime(2567): at java.lang.reflect.Method.invokeNative(Native Method)
09-20 03:26:55.917: E/AndroidRuntime(2567): at java.lang.reflect.Method.invoke(Method.java:525)
09-20 03:26:55.917: E/AndroidRuntime(2567): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
09-20 03:26:55.917: E/AndroidRuntime(2567): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
09-20 03:26:55.917: E/AndroidRuntime(2567): at dalvik.system.NativeStart.main(Native Method)
09-20 03:26:55.937: W/ActivityManager(286): Force finishing activity org.cocos2dx.simplegame/.SimpleGame
The text was updated successfully, but these errors were encountered:
Hi, there.
the IOS project does work very well without any issues, but android. Cocos Denshion seems not to be linked correctly. I think it's an unset/wrong set path or similar in Eclipse, but can't figure out the problem.
Before i ran a created project successfully (created via script "create_project.py" in cocos2d-x 2.1.4).
Do you have an idea, what went wrong?
System:
Mac OS X 10.8.4
Eclipse: ADT Bundle
Cocos2d-x 2.1.4
NDK: r9
Android: 4.3
Complete error messages:
09-20 03:26:55.887: W/dalvikvm(2567): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lorg/cocos2dx/simplegame/SimpleGame;
09-20 03:26:55.887: W/dalvikvm(2567): Class init failed in newInstance call (Lorg/cocos2dx/simplegame/SimpleGame;)
09-20 03:26:55.887: D/AndroidRuntime(2567): Shutting down VM
09-20 03:26:55.897: W/dalvikvm(2567): threadid=1: thread exiting with uncaught exception (group=0x41465700)
09-20 03:26:55.917: E/AndroidRuntime(2567): FATAL EXCEPTION: main
09-20 03:26:55.917: E/AndroidRuntime(2567): java.lang.UnsatisfiedLinkError: Couldn't load cocosdenshion from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.cocos2dx.simplegame-2.apk"],nativeLibraryDirectories=[/data/app-lib/org.cocos2dx.simplegame-2, /system/lib]]]: findLibrary returned null
09-20 03:26:55.917: E/AndroidRuntime(2567): at java.lang.Runtime.loadLibrary(Runtime.java:355)
09-20 03:26:55.917: E/AndroidRuntime(2567): at java.lang.System.loadLibrary(System.java:525)
09-20 03:26:55.917: E/AndroidRuntime(2567): at org.cocos2dx.simplegame.SimpleGame.(SimpleGame.java:47)
09-20 03:26:55.917: E/AndroidRuntime(2567): at java.lang.Class.newInstanceImpl(Native Method)
09-20 03:26:55.917: E/AndroidRuntime(2567): at java.lang.Class.newInstance(Class.java:1130)
09-20 03:26:55.917: E/AndroidRuntime(2567): at android.app.Instrumentation.newActivity(Instrumentation.java:1061)
09-20 03:26:55.917: E/AndroidRuntime(2567): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2128)
09-20 03:26:55.917: E/AndroidRuntime(2567): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
09-20 03:26:55.917: E/AndroidRuntime(2567): at android.app.ActivityThread.access$600(ActivityThread.java:141)
09-20 03:26:55.917: E/AndroidRuntime(2567): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
09-20 03:26:55.917: E/AndroidRuntime(2567): at android.os.Handler.dispatchMessage(Handler.java:99)
09-20 03:26:55.917: E/AndroidRuntime(2567): at android.os.Looper.loop(Looper.java:137)
09-20 03:26:55.917: E/AndroidRuntime(2567): at android.app.ActivityThread.main(ActivityThread.java:5103)
09-20 03:26:55.917: E/AndroidRuntime(2567): at java.lang.reflect.Method.invokeNative(Native Method)
09-20 03:26:55.917: E/AndroidRuntime(2567): at java.lang.reflect.Method.invoke(Method.java:525)
09-20 03:26:55.917: E/AndroidRuntime(2567): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
09-20 03:26:55.917: E/AndroidRuntime(2567): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
09-20 03:26:55.917: E/AndroidRuntime(2567): at dalvik.system.NativeStart.main(Native Method)
09-20 03:26:55.937: W/ActivityManager(286): Force finishing activity org.cocos2dx.simplegame/.SimpleGame
The text was updated successfully, but these errors were encountered: