hi,
i dont know where i made a mistake, so gonna post every steps performed and all the logs
i’m using windows 7 64 bits, all the files i downloaded was for that architecture.
A summary of the post
i’m following this tutorial
http://www.cocos2d-x.org/wiki/How_to_set_up_the_android_cocos2d-x_development_environment_on_Windows_7
on eclipse i choose the hellocpp projet, run as, android application
appears the message:
“Your project contains error(s), please fix them before running your application.”
Log generated: http://pastebin.com/BQwE6cRS
BEGIN
i’m following this tutorial
http://www.cocos2d-x.org/wiki/How_to_set_up_the_android_cocos2d-x_development_environment_on_Windows_7
the cocos version that i´m using is: cocos2d-x 2.2.2
i downloaded cocos, move to the “D” drive and build using “Microsoft Visual C++ 2010 Express”. the log generated was:
in this other tutorial:
http://www.cocos2d-x.org/wiki/Setup_win32_development_environment
i built all the projects and the projetc TesteCpp was run successfully. This other tutorial said to create a Windows project, but mine object wasn´t that, so i stopped on that part.
i downloaded the JDK 1.7.0_51 and setup a environment variable(JAVA_HOME).
on windows command prompt i wrote:
java -version
java version "1.7.0_51" Java(TM) SE Runtime Enviroment (build 1.7.0_51-b13) Java HotSpot(TM) 64-bit Server VM (build 24.51-b03, mixed mode)
javac -version
javac 1.7.0_51
The Android SDK i moved to: C:\adt-bundle-windows
i created a new environment variable named ANDROID_SDK which value is C:\adt-bundle-windows\sdk
Cygwin installed on drive “C”
On the setup, of cygwin, i made the search word by word, just like said on tutorial:
autoconf, automake, binutils, gcc-core, gcc-g, gcc4-core, gcc4-g, gdb, pcre, pcre-devel, gawk, make
I appended this directorys on variable Path:
C:\cygwin64\bin;
C:\adt-bundle-windows\sdk\platform-tools;
C:\adt-bundle-windows\sdk\tools
The Android NDK i put in: C:\android-ndk-r9c
i created a new environment variable named NDK_ROOT which value is C:\android-ndk-r9c
Finally
i launched eclipse and imported this two “Exsiting Android Code into workspace”
D:\cocos2d-x-2.2.2\cocos2d-x-2.2.2\samples\Cpp\HelloCpp\proj.android
D:\cocos2d-x-2.2.2\cocos2d-x-2.2.2\cocos2dx\platform\android
In the cygwin i put:
cd /cygdrive/d/cocos2d-x-2.2.2/cocos2d-x-2.2.2/samples/Cpp/HelloCpp/proj.android
./build_native.sh
no error generate
back to eclipse i choose the hellocpp projet, run as, android application
appears the message:
“Your project contains error(s), please fix them before running your application.”
with the log:
http://pastebin.com/BQwE6cRS
what should i do?