android 下载ndk后 报错Android/sdk/ndk-bundle/toolchains/mips64el-linux-android/prebuilt/darwin-x86_64/...

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

再运行项目,正常。。。问题解决

你可能感兴趣的:(android 下载ndk后 报错Android/sdk/ndk-bundle/toolchains/mips64el-linux-android/prebuilt/darwin-x86_64/...)