NDKBuild Failure

后端 未结 9 1212
伪装坚强ぢ
伪装坚强ぢ 2020-12-05 18:12

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

9条回答
  •  天涯浪人
    2020-12-05 18:38

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

    2. Now go to the build.gradle(Module library) and find getNdkPath(). It will return ndk path location which concatnate the ndk-build

    3. Change ndk-build --> ndk-build.cmd. It looks like this:

    Hope it will help you!

提交回复
热议问题