Hi,
1)I found that the cocos2d-2.0-rc2-x-2.0.1 Helloworld display error in emulator.(without using ndk-build)
2) If I build using ndk-build in eclipse are as below,
* Build of configuration Default for project HelloWorld*
sh C:-ndk-r8\ndk-build all
Android NDK: jni/Android.mk: Cannot find module with tag ‘cocos2dx’ in import path
Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ?
Android NDK: The following directories were searched:
jni/Android.mk:18: * Android NDK: Aborting. . Stop.
Android NDK:
* Build Finished*
I haven’t modify anything in Helloworld including Android.mk
Thank you.
The NDK couldn’t find cocos2dx module, try following step:
- “Properties” => choose “Builder” on the left side and “New” on the right;
- Choose “Program” then click “OK”;
- Fill out the “main” options:
i. “Location” = -build.cmd;
ii. “Working Directory” — Browse and choose your current project;
- Set “Environment”. Add environment “NDK_MODULE_PATH” of values “;2dx\platform\third_party\android\prebuilt;”
Thanks for reply.
The helloworld has build successfully. But the LogCat display : “don’t support gles2.0”(use AVD 2.3.3, 4.03, 4.1)
if I use “cocos2d-1.0.1-x-0.12.0”, the helloworld is running ok.
KS Lam wrote:
Thanks for reply.
>
The helloworld has build successfully. But the LogCat display : “don’t support gles2.0”(use AVD 2.3.3, 4.03, 4.1)
>
if I use “cocos2d-1.0.1-x-0.12.0”, the helloworld is running ok.
It seems the Android emulator as if don’t support opengles2.0.
your app should run on your phone device ok~