cocos2dx3.0Beta2 Android crash

cocos2dx3.0Beta2 Android crash
0

#1

Hi

I just downloaded cocos2dx 3.0Beta2 and tried to build HelloCpp and SimpleGame apps for android. The applications build fine but when I run them on the AVD (Android 4.4) I get the following stack trace in the logcat. I saw someone else had the same issue but he posted the issue as a reply to some old thread http://www.cocos2d-x.org/forums/6/topics/20459?page=2&r=43913 .

01-28 09:39:21.224: E/AndroidRuntime(1246): FATAL EXCEPTION: main
01-28 09:39:21.224: E/AndroidRuntime(1246): Process: org.cocos2dx.hellocpp, PID: 1246
01-28 09:39:21.224: E/AndroidRuntime(1246): java.lang.RuntimeException: Unable to start activity ComponentInfo{org.cocos2dx.hellocpp/org.cocos2dx.hellocpp.Cocos2dxActivity}: java.lang.IllegalArgumentException: Unable to find native library: hellocpp
01-28 09:39:21.224: E/AndroidRuntime(1246): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2176)
01-28 09:39:21.224: E/AndroidRuntime(1246): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2226)
01-28 09:39:21.224: E/AndroidRuntime(1246): at android.app.ActivityThread.access$700(ActivityThread.java:135)
01-28 09:39:21.224: E/AndroidRuntime(1246): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1397)
01-28 09:39:21.224: E/AndroidRuntime(1246): at android.os.Handler.dispatchMessage(Handler.java:102)
01-28 09:39:21.224: E/AndroidRuntime(1246): at android.os.Looper.loop(Looper.java:137)
01-28 09:39:21.224: E/AndroidRuntime(1246): at android.app.ActivityThread.main(ActivityThread.java:4998)
01-28 09:39:21.224: E/AndroidRuntime(1246): at java.lang.reflect.Method.invokeNative(Native Method)
01-28 09:39:21.224: E/AndroidRuntime(1246): at java.lang.reflect.Method.invoke(Method.java:515)
01-28 09:39:21.224: E/AndroidRuntime(1246): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777)
01-28 09:39:21.224: E/AndroidRuntime(1246): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593)
01-28 09:39:21.224: E/AndroidRuntime(1246): at dalvik.system.NativeStart.main(Native Method)
01-28 09:39:21.224: E/AndroidRuntime(1246): Caused by: java.lang.IllegalArgumentException: Unable to find native library: hellocpp
01-28 09:39:21.224: E/AndroidRuntime(1246): at android.app.NativeActivity.onCreate(NativeActivity.java:171)
01-28 09:39:21.224: E/AndroidRuntime(1246): at org.cocos2dx.hellocpp.Cocos2dxActivity.onCreate(Cocos2dxActivity.java:11)
01-28 09:39:21.224: E/AndroidRuntime(1246): at android.app.Activity.performCreate(Activity.java:5243)
01-28 09:39:21.224: E/AndroidRuntime(1246): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
01-28 09:39:21.224: E/AndroidRuntime(1246): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2140)
01-28 09:39:21.224: E/AndroidRuntime(1246): … 11 more