Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 213
LambergaR Avatar asked Jun 27 '11 14:06

LambergaR


1 Answers

Same problem (in Windows 7) but the cause is different.

After searching in the Environment parameters, I've found the evil thing named "NDK_PROJECT_PATH" which has value is an invalid path.

Deleted it and things are working again ;)

like image 188
Obelisk Sparrow Avatar answered Oct 10 '22 04:10

Obelisk Sparrow