studio3.0关于Error:Unable to resolve dependency for ':@debug/compileClasspath’的解决方案
allprojects {
repositories {
google()
jcenter()
maven { url “https://jitpack.io”)
}
}
确保google()放在最前面
把这种依赖方式
debugCompile project(path: ‘:hmspush’)
releaseCompile project(path: ‘:hmspush’)
改成这种就ok了
implementation project(path: ‘:hmspush’)
compile改成implementation