Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

External Native Build Issues Android Studio NDK Sample HelloJni (Build Failed)

Error: executing external native build for cmake C:\Users\PC1\Desktop\ndkdata\GDNdkText\app\CMakeLists.txt

Error While Building:

Error Image

I have installed NDK, CMake, LLDP as mentioned here. Do I need to install any other tool or need to set any environment variables?

like image 897
Gunjan Dave Avatar asked Jan 08 '17 18:01

Gunjan Dave


3 Answers

open Terminal and run this command:

gradlew build --stacktrace

enter image description here

like image 133
Nick Avatar answered Nov 05 '22 21:11

Nick


If you run under Linux you need to install Ninja. sudo apt install ninja-build

Tested today.

like image 40
ariel Avatar answered Nov 05 '22 21:11

ariel


you have to install ninja using homebrew

brew install ninja
like image 44
InKwon Devik Kim Avatar answered Nov 05 '22 21:11

InKwon Devik Kim