hi ,
i am doing set up cocos2dX for android in windows.
what i have done:
1.Download android Sdk (my Sdk location is “C:~~sdk").
2.Download android NDk .
3.cocos2dX location is .
4.cygwin location is
i have created two environment variable
~~ COCOS2DX_ROOT and Value = C:2d-1.0.1-x-0.12.0
- NDK_ROOT and value = C:
ndk-r6b-windows\android-ndk-r6b> android project-> path to cocos2dX folder(where cocos2d Extracted)
start cygwin.bat in c:cd $COCOS2DX_ROOT/HelloWorld/android
at this location next command
>./build_native.sh
code compiles properly and than got messages for install of .so libs .
than Run eclipse
import projects
imported projects cocos2dxTest, helloworld
when i am debugging in simulator got message”Get data from File (assets/closeSelected.png)Failed"(as in Attached image)
i checked my assets folder in HelloWorld it was empty.
how can i able to run this,
My question is :
1.is i am missing something,
2.is i need to copy resources manually in assets folder
3.is every time i changed code do i need to compile through build_native.sh
Help plz…
device-2012-08-08-143224.png (11.0 KB)