【发布时间】:2016-05-01 08:42:57
【问题描述】:
更新并重启 android studio 后,出现以下错误。
错误:任务 ':app:compileDebugJavaWithJavac' 执行失败。 java.io.FileNotFoundException: /.../Workspace/MyAppName/app/build/intermediates/exploded-aar/com.google.android.gms/play-services/8.3.0/jars/classes.jar (没有这样的文件或目录)
我已经尝试清理和重建我的项目,但每次我都遇到错误。
编辑:
我的gradle如下:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.android.support:design:23.0.1'
compile 'com.google.android.gms:play-services:8.4.0'
}
【问题讨论】:
-
发布您的
build.gradle -
#pRaNaY 显示你的
build.gradle.看看这里我的答案stackoverflow.com/questions/34806573/google-play-service-error/… -
用 gradle 代码更新了我的问题
标签: android android-studio google-play-services