Search code examples
androidandroid-ndk

Your APP_BUILD_SCRIPT points to an unknown file using Android ndk-build


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.


Solution

  • 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.