gpt4 book ai didi

android - 错误 :Failed to open zip file. Gradle 依赖项缓存可能已损坏(这有时会在网络连接超时后发生。)

转载 作者:行者123 更新时间:2023-11-29 14:18:57 25 4
gpt4 key购买 nike

Error:Failed to open zip file. Gradle dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)

dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.parse.bolts:bolts-android:1.+'
compile 'com.parse:parse-android:1.+'
compile 'com.android.support:appcompat-v7:23.2.0'
compile 'com.android.support:recyclerview-v7:23.2.0'
compile 'com.facebook.android:facebook-android-sdk:4.0.0'
compile 'com.android.support:design:23.2.0'
compile 'com.android.support:support-v4:23.2.0'
}

最佳答案

当我将 android studio 从 2.1 更新到 2.2.3 时,我遇到了同样的问题。折腾了一阵子,进入project->右键->open module settings->project

1) Gradle :2.14.1
2) 安卓插件版本:2.2.3
3) 安卓插件库:jcenter
4)默认库存储库:jcenter

关于android - 错误 :Failed to open zip file. Gradle 依赖项缓存可能已损坏(这有时会在网络连接超时后发生。),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41789809/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com