Compiling Android on Osx

Hi,

I can not compile Android on my osx, got these errros below.
I’m something new on android, and I fail in something.

OSX is 10.9.4
Fresh ADT/Eclipse from the official tutorail link :
http://developer.android.com/sdk/index.html
NDK : android-ndk-r8d
OF is nightly build

make[2]: *** [../../../libs/openFrameworksCompiled/lib/android/obj/armv7/Debug/libs/openFrameworks/3d/of3dPrimitives.o] Error 127
/bin/sh: /Users/dudleysmith/Dude_s_Place/_OF/0.8.3_android_release/android-ndk-r8d/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86/bin/arm-linux-androideabi-g++: No such file or directory
make[2]: *** [../../../libs/openFrameworksCompiled/lib/android/obj/armv7/Debug/libs/openFrameworks/3d/of3dUtils.o] Error 127
/bin/sh: /Users/dudleysmith/Dude_s_Place/_OF/0.8.3_android_release/android-ndk-r8d/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86/bin/arm-linux-androideabi-g++: No such file or directory 

Can someone help me ?
Seb

check to make sure you have absolute paths in paths.make like this

Default paths.make file.
Enter the correct paths for your system and save this file as paths.make

NDK_ROOT=/Users/dantheman/Downloads/android-ndk-r9d
SDK_ROOT=/Users/dantheman/Downloads/adt-bundle-mac-x86_64-20140321/sdk

I’m using the ndk-r9d and the adt bundle.

Also make sure you fill in the location of the SDK and NDK in eclipse. In ADT > Preferences

And then disable syntax error checking in the CPP section

Well,

My NDK tab is missing

and that path doesn’t exist

/Users/dudleysmith/Dude_s_Place/_OF/0.8.3_android_release/android-ndk-r8d/toolchains/arm-linux-androideabi-4.8

NDK r8d only have these paths included

Few questions :
How to fix the NDK tab missing in Eclipse ?
Is OF 0.8.3 compatible with NDK r8d (I’m downloading r9b and r10) to fix. I attempted to change the version in that file but I collected others troubleshoots ?

Thanks for your answers.
Sebastien

you need to add the NDK Eclipse plugin. Go Help>Install New Software

then select the android repo and the NDK plugin.

upgrade your NDK to r9d.

Great,
I upgrade all needed, it compiles great. Thanks.

Now, the issue is that the programm executed is all blank on my phone and nothing more happens.

Android is a long road for me.
Cheers

what are you trying to do?

did you change the name of your app/folder without updating the reference in /res/values/strings.xml?

Nop,
Didn’t change anything, I just launch from eclipse on my phone.
The app starts but remains with white background and does nothing else…

Log Cat does not warn abnormally, maybe this message
08-05 22:20:32.723: W/ActivityManager(2466): Activity idle timeout for HistoryRecord{48300aa0 cc.openframeworks.androidGuiExample/.OFActivity}

any idea ?

Try the touch examples

from a touch screeeeee. #autocorrect