Android Studio常见问题
Posted weslie
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Android Studio常见问题相关的知识,希望对你有一定的参考价值。
Q1:
Gradle ‘××ב project refresh failed.
re-download dependencies and sync project (requires network)
It basically means that the gradle zip file in the cache folder is corrupted, if you don‘t want to change the version like the up-voted answer
then you must delete the folder for your gradle version you‘re using for this project from the below path.
Then just retry the sync and android studio will download it again
C:\Users\ [user here] \.gradle\wrapper\dists
ex: if you‘re using 3.3 for this project you‘d be deleting the folder
C:\Users\[user here]\.gradle\wrapper\dists\gradle-3.3-all
以上是关于Android Studio常见问题的主要内容,如果未能解决你的问题,请参考以下文章
如何在android studio中用另一个片段替换一个片段