Could not determine the dependencies of task ':react-native-image-crop-picker:compileDebugAidl' ...........
安装react-native-image-crop-picker 插件的时候Could not find com.github.yalantis:ucrop:2.2.1-native,因为缺少maven源,
解决方法:/android/build.gradle 下, 有的时候因为添加了阿里云,又设置了代理,还会出现 read time out,就需要将阿里云镜像源去掉了
allprojects {
repositories {
mavenLocal()
google()
jcenter()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
maven{
url "https://jitpack.io"
}
maven{
url 'https://maven.google.com/'
name 'Google'
}
}
}