LambergaR LambergaR - 1 month ago 23
Android Question

Android NDK: Your APP_BUILD_SCRIPT points to an unknown file

I get the following error while trying to compile an Android NDK project:

ndk-build
Android NDK: Your APP_BUILD_SCRIPT points to an unknown file: /home/lambergar/work/APIExample/jni/Android.mk
/home/lambergar/android/ndk/android-ndk-r5c/build/core/add-application.mk:116: *** Android NDK: Aborting... . Stop.


The weird thing is, that the 'unknown file' (Android.mk) exists under the path reported as invalid.

Answer

I solved the problem by adding a new build to the project and voila, it works... Don't know what was the problem with the CLI build though.