参考链接:https://blog.csdn.net/u013089582/article/details/84374577

react-native 打包报 Execution failed for task ':react-native-http-cache:verifyReleaseResources'. > com.android.ide.commo 这是因为SDK版本不匹配,原因是0.57.1将Android SDK的版本更新到27了,这与大多第三方使用了原生代码的插件不兼容了,因为第三方更新不及时,SDK还是旧的版本。

可查看react-native-http-cache的build.gradle文件,修改这个build.gradle,使其与android/build.gradle(也可能是android/app/build.gradle)里面的SDK版本保持一致,将build.gradle里的compile改为implementation,因为compile已过时。然后重新打包

改后截图:

Execution failed for task ':react-native-http-cache:verifyReleaseResources'. > com.android.ide.commo
 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-20
  • 2021-12-31
  • 2021-05-09
  • 2021-11-19
  • 2021-04-27
  • 2021-03-31
猜你喜欢
  • 2021-11-14
  • 2021-11-10
  • 2021-06-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案