У меня есть чистый проект Android с сервисами Google Play rev. 13, установленный через менеджера SDK, после these instructions.Gradle неспособен разрешить зависимость от служб Play
Мой build.gradle
файл выглядит следующим образом:
dependencies {
compile 'com.google.android.gms:play-services:4.0.30'
}
Однако, когда я пытаюсь построить это приложение, я получаю
Gradle: A problem occurred configuring project ':Maple'.
> Failed to notify project evaluation listener.
> Could not resolve all dependencies for configuration ':Maple:_DebugCompile'.
> Could not find com.google.android.gms:play-services:4.0.30.
Required by:
MapleProject:Maple:unspecified
от cmd типа "gradle clean cleaneclipse eclipse" –
вам необходимо установить репозиторий Google из раздела дополнительных компонентов диспетчера SDK, чтобы получить игровые сервисы, работающие с градиентом. – Varun