I’m trying to create new andorid project in windows without cygwin, but i got some problems.
First, I create a new android project in eclipse(integrated with NDK r8,ADT,Android SDK), as the “create-android-project.sh” do.
Then I copy all source files and resources in HelloWorld project to my project as the “copy_files.sh” do.
After that, I modify Android.mk just as the “gamemk.sh” do.
I do some modify in the .java and .cpp files to keep package path correct.
Then i run my project. Compile is OK, but I got error when running as below:
06-26 10:18:37.166: W/dalvikvm(12306): No implementation found for native Lcom/mypro/lib/Cocos2dxActivity;.nativeSetPaths (Ljava/lang/String;)V
06-26 10:18:37.176: E/AndroidRuntime(12306): at com.mypro.lib.Cocos2dxActivity.nativeSetPaths(Native Method)
06-26 10:18:37.176: E/AndroidRuntime(12306): at com.mypro.lib.Cocos2dxActivity.setPackageName(Cocos2dxActivity.java:226)
06-26 10:18:37.176: E/AndroidRuntime(12306): at com.mypro.app.ApplicationDemo.onCreate(ApplicationDemo.java:46)
06-26 10:18:37.176: E/AndroidRuntime(12306): at android.app.Activity.performCreate(Activity.java:4524)
It seems the Cocos2dxActivity.nativeSetPaths method hasn’t native implementation.
Can anyone tell me why or give me a solution?