雖然克隆Aware回購在我的Android工作室,同步gradle這個,我得到了以下信息:搖籃錯誤
Failed to sync Gradle project 'app'
Error:Could not find com.google.android.gms:play-services-contextmanager:9.2.0. Required by: Aware:app:unspecified
compile 'com.google.android.gms:play-services-contextmanager:9.2.0'
已經存在在我的build.gradle
見build.gradle:
apply plugin: 'com.android.application'
apply plugin: 'com.neenbedankt.android-apt'
android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "com.hitherejoe.aware"
minSdkVersion 21
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.google.android.gms:play-services-contextmanager:9.2.0'
compile 'com.android.support:design:23.0.1'
compile 'com.jakewharton:butterknife:8.1.0'
apt 'com.jakewharton:butterknife-compiler:8.1.0'
}
幫助需要建立項目。任何人都可以說我錯過了什麼?
謝謝。但它不起作用。與9.2.1相同的錯誤 – pRaNaY
好的,然後「錯誤:無法找到」意味着1)您有網絡問題,無法下載或2)您必須打開SDK管理器並添加Google Play服務存儲庫 –