Android 项目未构建
Android project not build
ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.google.android.gms:play-services-location:[15.0.0, 16.0.0).
Disable offline mode and sync project
Show Details
Affected Modules: app
以下是您可以尝试的步骤,
1) 首先检查 互联网 是否已连接,然后再次尝试同步 gradle。
2) 如果 internet 正常工作然后转到,
File->Other Settings-> Build, Execution, Deployment->Build Tools->
Gradle->Uncheck Offline work option.
ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.google.android.gms:play-services-location:[15.0.0, 16.0.0). Disable offline mode and sync project Show Details Affected Modules: app
以下是您可以尝试的步骤,
1) 首先检查 互联网 是否已连接,然后再次尝试同步 gradle。
2) 如果 internet 正常工作然后转到,
File->Other Settings-> Build, Execution, Deployment->Build Tools->
Gradle->Uncheck Offline work option.