美文网首页
Could not resolve all dependenci

Could not resolve all dependenci

作者: 有无01 | 来源:发表于2017-12-12 21:11 被阅读0次

react-native run-android报错Could not resolve all dependencies for configuration ':react-native-image-crop-picker:_debugPublishCopy'.
步骤:
1.修改项目/android/build.gradle 把com.android.tools.build:gradle:2.2.3改成com.android.tools.build:gradle:2.3.3

如果再报The SDK Build Tools revision (23.0.1) is too low for project ':app'. Minimum required is 25.0.0则如下
2.修改项目/android/app/build.gradle 为buildToolsVersion "23.0.1"为buildToolsVersion "25.0.1"

3.修改项目/node_modules/react-native-image-crop-picker/android/build.gradle 把全步27替换为26,把compile 'com.github.yalantis:ucrop:2.2.1-native'替换为compile 'com.yalantis:ucrop:2.2.0-native'

相关文章

网友评论

      本文标题:Could not resolve all dependenci

      本文链接:https://www.haomeiwen.com/subject/htcoixtx.html