How to resolve Android ndk build command faild?

喜夏-厌秋 提交于 2019-11-29 12:27:35

NDK build fails miserably when the path to project files contains spaces. To fix your build, copy the project to path without spaces.

After lot of trials and help from github google guy I am able to solve. To resolve problem I have follow below steps.

1.go to project directory.

2.deleted .gradle ,app/.externalNativeBuild and app/build.

3.changed local.properties ndk path to external ndk-r16b.

4.Run through Android studio.

5.Finally apk is generate.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!