I am using this tutorial to set up an Android development environment. But when I import folder C:\\cocos2d-x-2.2.0\\samples\\Cpp\\HelloCpp\\proj.android
I see:
**** Clean-only build of configuration Default for project HelloCpp ****
clean
Cannot run program "": Launching failed
Error: Program "" is not found in PATH
PATH=[C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\cygwin64\bin\;D:\Projects\cpp\adt-bundle-windows-x86_64\adt-bundle-windows-x86_64-20131030\sdk\platform-tools\;D:\Projects\cpp\adt-bundle-windows-x86_64\adt-bundle-windows-x86_64-20131030\sdk\tools\]
**** Build Finished ****
What is wrong? What does Eclipse want to do. I am completely new to Android development and also Eclipse. Please help.
If you are using cocos2d-x 2.2 then follow following steps:
autoconf, automake, binutils, gcc-core, gcc-g++, gcc4-core, gcc4-g++, gdb, pcre, pcre-dev
Now you go to your project properties and go to code analysis(in the C/C++ analysis) and select the use project property
and then unchecked the syntax and semantics error
Now in your project open build_native.sh
give the path of ndk_rook
like this
NDK_ROOT="D:\\android-ndk-r8d"
Now you can run your project..........
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.