错误:任务执行失败':mobile:prepareComAndroidSupportAnimatedVectorDrawable2340Library'

时间:2016-06-03 18:41:26

标签: android android-studio

请帮助解决它我无法阅读硬gramar英语

    Error:Execution failed for task ':mobile:prepareComAndroidSupportAnimatedVectorDrawable2340Library'.
> Could not expand ZIP 'C:\Users\Fluk\AppData\Local\Android\Sdk\extras\android\m2repository\com\android\support\animated-vector-drawable\23.4.0\animated-vector-drawable-23.4.0.aar'.

完整构建代码。

Information:Gradle tasks [:mobile:generateDebugSources, :mobile:generateDebugAndroidTestSources, :mobile:mockableAndroidJar, :mobile:prepareDebugUnitTestDependencies]
:mobile:preBuild UP-TO-DATE
:mobile:preDebugBuild UP-TO-DATE
:mobile:checkDebugManifest
:mobile:preReleaseBuild UP-TO-DATE
:mobile:prepareComAndroidSupportAnimatedVectorDrawable2340Library FAILED
Error:Execution failed for task ':mobile:prepareComAndroidSupportAnimatedVectorDrawable2340Library'.
> Could not expand ZIP 'C:\Users\Fluk\AppData\Local\Android\Sdk\extras\android\m2repository\com\android\support\animated-vector-drawable\23.4.0\animated-vector-drawable-23.4.0.aar'.
Information:BUILD FAILED
Information:Total time: 2.243 secs
Information:1 error
Information:0 warnings
Information:See complete output in console

感谢您的帮助。

1 个答案:

答案 0 :(得分:0)

这是我的第一篇文章&评价。

自上周以来,我一直试图解决这个问题。

现在我找到了,你应该使用JAVA 1.7和节点4.4.5 LTS

然后您将传递该错误,但会再次遇到其他错误。

安装JAVA 1.8然后你就会成功。

(我不知道为什么。抱歉)

希望你能解决:D