由于今天加入一个新需求 ,在我导入so库文件出现以下错误

关于Error:Execution failed for task ':Disentanglement:transformNative_libsWithStripDebugSymbolForDebug

于是在网上找了以下解决方案,有的人说 compileSdkVersion 19
buildToolsVersion ‘25.0.0’ 版本不一致说改成一致 我试了并没什么用,然后尝试第二种有的人说local.properties ndk版本与太低在Android Studio 2.3出现这种情况,我又去试了下还是没用升级了ndk版本,最后又尝试ndk配置cpu哪里,把arm64-v8a说暂时不支持硬件
最后我只留下三个如下图所示

关于Error:Execution failed for task ':Disentanglement:transformNative_libsWithStripDebugSymbolForDebug

然后clean Project —–>Rebuild Project 然后好了 编译通过运行正常 我也觉得郁闷,可能每个人的情况不一样,但是我就是这样解决的。

关于Error:Execution failed for task ':Disentanglement:transformNative_libsWithStripDebugSymbolForDebug

注:转载请注明出处,谢谢合作! http://blog.csdn.net/qq_15950325/article/details/78332685

相关文章:

  • 2021-10-29
  • 2021-09-03
  • 2021-12-03
  • 2021-11-06
  • 2021-04-26
  • 2021-10-07
  • 2021-12-16
猜你喜欢
  • 2021-08-31
  • 2021-05-03
  • 2021-05-26
  • 2021-09-28
  • 2021-05-21
  • 2022-01-16
相关资源
相似解决方案