Error:Execution failed for task ‘:app:transformNativeLibsWithStripDebugSymbolForDebug’.
A problem occurred starting process ‘command ‘D:\Android\sdk\ndk-bundle\toolchains\mips64el-linux-android-4.9\prebuilt\windows-x86_64\bin\mips64el-linux-android-strip”
我解决办法
1,先清除 Android/Sdk/ndk-bundle/ 下的内容
2,从 https://developer.android.google.cn/ndk/downloads/older_releases 下载16b版本的ndk到本地, 并解压说, 将解压缩后的所有文件拷贝到 Android/Sdk/ndk-bundle/ 目录下
3,重新build工程

本文介绍了解决Android开发中遇到的一个常见错误——在构建过程中出现的与NDK相关的编译错误。具体错误信息为:Error:Execution failed for task ‘:app:transformNativeLibsWithStripDebugSymbolForDebug’。解决方案包括清理SDK目录、下载特定版本的NDK并替换现有文件。
1万+

被折叠的 条评论
为什么被折叠?



