卡在 Gradle 上:在 android studio 中下载 maven-metadata.xml [英] stuck on Gradle: Download maven-metadata.xml in android studio

查看:97
本文介绍了卡在 Gradle 上:在 android studio 中下载 maven-metadata.xml的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

添加 volley 依赖项并按同步后.我取消了同步依赖项,之后当我重新打开项目时,我陷入了构建项目的困境.我还单击了清理项目和无效缓存和重新启动按钮.但它无法改变.我该如何解决?

After adding volley dependency and press sync. I canceled syncing the dependency and after that when I reopen the project I get this stuck to build the project. I also click on clean the project and invalid cache and restart buttons. but It can not be changed. How can I fix it?

推荐答案

我通过删除 \.gradle 文件夹并重新启动 AndroidStudio 来修复

I fixed by deleting the <USER_HOME>\.gradle folder and restart AndroidStudio

这篇关于卡在 Gradle 上:在 android studio 中下载 maven-metadata.xml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆