Unable to resolve dependency for ':app/compileClasspath': Could not resolve project :**

解决办法:

将依赖代码

implementation project(path: ':module1')    implementation project(path: ':module2')

修改如下:

 implementation project(path: ':module1', configuration: 'default')

 implementation project(path: ':module2', configuration: 'default')


原文链接:Android Studio解决 Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolv... -

你可能感兴趣的:(Unable to resolve dependency for ':app/compileClasspath': Could not resolve project :**)