I\'m having trouble getting my NDK to compile properly in Android Studio. Whenever I try running to compile I am getting the following error.
Error:Ex
First of all you have to check local.properties file in your project. In local.properties check ndk path. It looks like this ndk.dir=D:\\sdk\\ndk-bundle.
Now go to the build.gradle(Module library) and find getNdkPath(). It will return ndk path location which concatnate the ndk-build
Change ndk-build --> ndk-build.cmd. It looks like this:
Hope it will help you!