android 下载ndk后 报错Android/sdk/ndk
2018-11-14 本文已影响142人
为自己代颜_
Error:Execution failed for task ':uikit:transformNativeLibsWithStripDebugSymbolForDebug'.
A problem occurred starting process 'command '/Users/admin/Library/Android/sdk/ndk-bundle/toolchains/mips64el-linux-android/prebuilt/darwin-x86_64/bin/mips64el-linux-android-strip''
解决方案:在项目的local.properties文件中打开
ndk.dir=/Users/admin/Library/Android/sdk/ndk-bundle
sdk.dir=/Users/admin/Library/Android/sdk
改为:
ndk.dir=/Users/admin/Library/Android/sdk/ndk-bundle.cmd
sdk.dir=/Users/admin/Library/Android/sdk
再运行项目,正常。。。问题解决