今天接入Bmob后,工程出现了这个异常

Error:Execution failed for task ‘:app:transformNativeLibsWithStripDebugSymbolForDebug’. > A problem occurred starting process ‘command ‘G:\sdk1\ndk-bundle\toolchains\mips64el-linux-android-4.9\prebuilt\windows-x86_64\bin\mips64el-linux-android-strip’’

导致这个问题的原因是我的NDK 17版本与依赖的Bmob不兼容,网上很多建议把NDK的版本改为16以此来解决这个问题。

这里我说一个另一种解决办法

Error:Execution failed for task toolchains\mips64el-linux-android-4.9\prebuilt\windows-x86_64.异常处理
既然不兼容mips64 索性就去掉吧

  ndk {
            abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86'
        }
 packagingOptions{
        doNotStrip '*/mips/*.so'
        doNotStrip '*/mips64/*.so'
    }

完美运行

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-03-30
  • 2021-11-22
  • 2021-05-03
  • 2022-12-23
  • 2022-01-22
  • 2021-05-03
猜你喜欢
  • 2021-06-06
  • 2021-06-25
  • 2021-07-05
  • 2021-10-15
  • 2021-10-13
  • 2021-11-19
  • 2022-01-08
相关资源
相似解决方案