Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ADT 23 doesn't like NDK11

Win7-x64, Eclipse Luna SR2, Android tools v23.0.7. I've installed NDK r11. I'm trying to point Eclipse at D:\android-ndk-r11 via the Preferences window, but it says:

"Not a valid NDK directory".

like image 552
Seva Alekseyev Avatar asked Mar 16 '16 17:03

Seva Alekseyev


2 Answers

You need to create an empty file called "ndk-build" (without extension) inside the root folder of the NDK in order to get it recognized by the last version of the ADT plugin. You can also download my updated version of ADT that supports NDK r11 at: https://github.com/khaledev/ADT.

like image 86
khaledev Avatar answered Oct 07 '22 05:10

khaledev


I faced this problem too , I fixed it by replace NDK Location with "D:\develop\android-ndk-r12b-windows-x86_64\android-ndk-r12b\build" .

like image 36
shone chen Avatar answered Oct 07 '22 06:10

shone chen