黑客攻防技术宝典-microsoft frontpage
![couldnot](/uploads/image/0053.jpg)
2023年4月3日发(作者:移动飞信网页版)
Couldnotresolvea...
Couldnotresolvealldependenciesforconfiguration':app:_debugApk'.>Configurationwithname'default'notfound.
查看android项⽬结构下的gradlescripts只有⼯程project项的,并没有Module的
解决⽅式:
1、删除app⽬录下其他的依赖项:
dependencies{
//compileproject(':react-native-picker')
//compileproject(':react-native-image-crop-picker')
//compileproject(':react-native-vector-icons')
compilefileTree(dir:"libs",include:["*.jar"])
compile"t:appcompat-v7:23.0.1"
compile":react-native:+"//Fromnode_modules
}
2、找到,删除多余的依赖项,只保留
='dong'
include':app'
//include':react-native-picker'
//project(':react-native-picker').projectDir=newFile(tDir,'../node_modules/react-native-picker/android')
//project(':react-native-image-crop-picker').projectDir=newFile(tDir,'../node_modules/react-native-image-
crop-picker/android')
//include':react-native-vector-icons'
//project(':react-native-vector-icons').projectDir=newFile(tDir,'../node_modules/react-native-vector-
icons/android')
3、重新gradle编译
4、添加依赖项,重新编译
更多推荐
couldnot
发布评论