我刚刚将我的Android Studio升级到3.0,但当我尝试在我的项目上构建apk时,它显示以下错误:
该项目依赖于com.google.android.support:wearable:2.0.0,因此还必须依赖于com.google.android.wearable:wearable:2.0.0(作为提供的依赖项)
我的build.gradle如下:
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile project(':lpd')
compile 'com.google.android.support:wearable:2.0.0-alpha2'
compile 'com.google.android.gms:play-services-wearable:9.4.0'
compile files('libs/zxing_2.3.0.jar')
compile(name: 'hwwearableservice-release', ext: 'aar')
compile 'com.google.android.gms:play-services-appindexing:9.4.0'
}
这有什么问题吗?