Android Studio and Openframeworks

Hi,

I am a newbie. I am using Windows. I am working on the Android studio and Openframeworks configuration following this link: http://openframeworks.cc/setup/android-studio/ . I have installed all the necessary softwares and updates (e.g Android NDK, SDK, and MinGW) in the process. I have configured the NDK path in the path.make file. when I follow the steps to run androidEmptyExample, it gives me the “make failed with exit status 2”. Further debugging tells me that:

/bin/sh: /my_path/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/arm-linux-androideabi-g++: No such file or directory.

So I go to this path and see if arm-linux-androideabi-g++ exists, and I find that this compiler exists in /my_path/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/. The message showed above is related to the file config.android.default in the openframeworks folder (as I can change the message content through changing the content in the config.android.default file).

My current Openframeworks version is v0.9.0, Android SDK is 5.1 (API level 22) and my Android NDK is r10e. I have read previous related posts and tried those suggested solutions but they don’t work for me. Could you guys give me some hints on this?

Thanks,
Kevin

Hi Kevin,

Have you found a solution yet?

I am having a similar problem:

…\android-ndk-r10e\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\lib\gcc\arm-linux-androideabi\4.9\include\stdint.h:9:26: fatal error: stdint.h: No such file or directory

The file is there, but no to be found by android studio.

Best, j