Note that there are some explanatory texts on larger screens.

plurals
  1. POException when running cocos2dxsample project(Raywenderlich tutorial Cocos2D-X for iOS and Android)
    primarykey
    data
    text
    <p>I am following Cocos2D-X for iOS and Android: Getting Started tutorial from <a href="http://www.raywenderlich.com/11283/cocos2d-x-for-ios-and-android-getting-started" rel="nofollow">Raywenderlich site</a>.</p> <p>I have downloaded the android project from create-android-project.sh command as stated in the site. When I try to run the project in eclipse I got the following logs:</p> <pre><code>09-26 13:04:05.081: W/dalvikvm(517): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/a/samplecocos2dxandroid21; 09-26 13:04:05.081: W/dalvikvm(517): Class init failed in newInstance call (Lcom/a/samplecocos2dxandroid21;) 09-26 13:04:05.081: D/AndroidRuntime(517): Shutting down VM 09-26 13:04:05.081: W/dalvikvm(517): threadid=1: thread exiting with uncaught exception (group=0x409c01f8) 09-26 13:04:05.091: E/AndroidRuntime(517): FATAL EXCEPTION: main 09-26 13:04:05.091: E/AndroidRuntime(517): java.lang.ExceptionInInitializerError 09-26 13:04:05.091: E/AndroidRuntime(517): at java.lang.Class.newInstanceImpl(Native Method) 09-26 13:04:05.091: E/AndroidRuntime(517): at java.lang.Class.newInstance(Class.java:1319) 09-26 13:04:05.091: E/AndroidRuntime(517): at android.app.Instrumentation.newActivity(Instrumentation.java:1023) 09-26 13:04:05.091: E/AndroidRuntime(517): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1871) 09-26 13:04:05.091: E/AndroidRuntime(517): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981) 09-26 13:04:05.091: E/AndroidRuntime(517): at android.app.ActivityThread.access$600(ActivityThread.java:123) 09-26 13:04:05.091: E/AndroidRuntime(517): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147) 09-26 13:04:05.091: E/AndroidRuntime(517): at android.os.Handler.dispatchMessage(Handler.java:99) 09-26 13:04:05.091: E/AndroidRuntime(517): at android.os.Looper.loop(Looper.java:137) 09-26 13:04:05.091: E/AndroidRuntime(517): at android.app.ActivityThread.main(ActivityThread.java:4424) 09-26 13:04:05.091: E/AndroidRuntime(517): at java.lang.reflect.Method.invokeNative(Native Method) 09-26 13:04:05.091: E/AndroidRuntime(517): at java.lang.reflect.Method.invoke(Method.java:511) 09-26 13:04:05.091: E/AndroidRuntime(517): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) 09-26 13:04:05.091: E/AndroidRuntime(517): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) 09-26 13:04:05.091: E/AndroidRuntime(517): at dalvik.system.NativeStart.main(Native Method) 09-26 13:04:05.091: E/AndroidRuntime(517): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load game: findLibrary returned null 09-26 13:04:05.091: E/AndroidRuntime(517): at java.lang.Runtime.loadLibrary(Runtime.java:365) 09-26 13:04:05.091: E/AndroidRuntime(517): at java.lang.System.loadLibrary(System.java:535) 09-26 13:04:05.091: E/AndroidRuntime(517): at com.a.samplecocos2dxandroid21.&lt;clinit&gt;(samplecocos2dxandroid21.java:106) 09-26 13:04:05.091: E/AndroidRuntime(517): ... 15 more </code></pre> <p>android ndk, android sdk path setting and change an create-android-project.sh already done. Can somebody please tell me where I am wrong and what is the solution of that..,.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload