错误无法解析':app @ debugAndroidTest / compileClasspath'的依赖项无法解析项目:SimpleCommons

时间:2020-05-27 08:26:24

标签: android android-studio gradle dependencies

ERROR: Unable to resolve dependency for  

':app @ debugAndroidTest / compileClasspath':无法解析项目
:SimpleCommons 错误:无法解决依赖关系 ':app @ debugUnitTest / compileClasspath':无法解析项目 :SimpleCommons 错误:无法解析':app @ debug / compileClasspath'的依赖关系:可以 无法解决项目:SimpleCommons

我尝试将apply plugin: 'com.android.library'更改为apply plugin: 'com.android.application',但这不起作用以及其他错误

这就是错误。

ERROR: Library projects cannot set applicationId
ERROR: Library projects cannot set applicationIdSuffix
ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve project :SimpleCommons
ERROR: Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve project :SimpleCommons
ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve project :SimpleCommons

如何解决这个问题?

0 个答案:

没有答案