Android compile problems with Linux

Android compile problems with Linux
0.0 0


I’m trying to compile HelloCpp android application with Eclipse on Ubuntu 13.04.

I’m getting this text when try to “Run As ~~> Android Application" in Eclipse:
<pre>* Build of configuration Default for project HelloCpp*
bash /home/pradmure/cocos2/samples/Cpp/HelloCpp/
NDK_ROOT = /home/pradmure/NDK-r8
COCOS2DX_ROOT = /home/pradmure/cocos2/samples/Cpp/HelloCpp/…/…/…/…
APP_ROOT = /home/pradmure/cocos2/samples/Cpp/HelloCpp/…
APP_ANDROID_ROOT = /home/pradmure/cocos2/samples/Cpp/HelloCpp/
Using prebuilt externals

  • /home/pradmure/NDK-r8/ndk-build~~C /home/pradmure/cocos2/samples/Cpp/HelloCpp/ NDK_MODULE_PATH=/home/pradmure/cocos2/samples/Cpp/HelloCpp/…/…/…/…:/home/pradmure/cocos2/samples/Cpp/HelloCpp/…/…/…/…/cocos2dx/platform/third_party/android/prebuilt
    make: Entering directory `/home/pradmure/cocos2/samples/Cpp/HelloCpp/’
    Install : => libs/armeabi/
    make: Leaving directory `/home/pradmure/cocos2/samples/Cpp/HelloCpp/’
    * Build Finished*</pre>
    Also get this error”Your project contains error(s), please fix them before running your application.“. I don’t see any errors in the text above.
    I’m use cocos2d-x-2.1.5
    What I do:
  1. install Eclipse from ubuntu repos
  2. install sdk with Eclipse (4.3 and 2.2 versions)
  3. download ndk from there and point to it in
  4. then import all”Cpp" samples in Eclipse and then try to “Run As”

How to compile and run android application on Linux? Can anyone get link on up to date tutorial?