Question

Im new to cocos2d-x and I a face issue while tring to run my app.

what I did is :

  • Download android adt Bundle (eclpise + android SDK).
  • Download android-ndk-r9d
  • Download cocos2d-x 2.2.3

I extract them all , and I create new project using create_project.py then , I import the project in eclipse and the (android platform library which known as libcocos2dx)

btw, I install the android sdk 8 and 15 and I set the NDK_ROOT to the ndk path.

The problme is when i run the app , an alert shows and said "unfortunately 'appname' has stopped" something like that

then , I notice this warning which said

Invalid project path: Include path not found (/opt/android-ndk-r9d/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86/lib/gcc/arm-linux-androideabi/4.4.3/include).

I wonder what is the problem cause the app work before for me. but then It can at run at all.

btw , I use Ubuntu and Max OSX and I have same problem.

Was it helpful?

Solution 2

Thanx ,finally, It work form me now. Maybee the problem that I use the cocos2d-x folder as workplace for eclipse projects

OTHER TIPS

Use other version of the Android NDK for Mac OSX the 9 have some issues with cocos2d-x.

Currently I'm using the Android NDK r8d on works well.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top