我将Android Studio更新为预览2.1,同时更新了gradle
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0-alpha1'
classpath 'com.google.gms:google-services:2.1.0-alpha1'
}
我收到了这条消息:
当我点击 再试一次 时,我会收到此消息
Gradle 'TestProject' Project refresh failed
Error:exception during working with external system:
有人面对并解决了这个问题吗?
答案 0 :(得分:0)
将类路径更改为
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0-alpha1'
classpath 'com.google.gms:google-services:2.0.0-alpha6'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}