AndroidStudio报错:Could not download gradle.jar:No cacahed version available for offline mode

Scenes

After speaking of the Android Studio .gradle modified from the default directory to another directory C drive, the new app tips:

Could not download gradle.jar:No cacahed version available for offline mode

 

 

Note:

Blog:
https://blog.csdn.net/badao_liumang_qizhi
public concern number of
programs overbearing ape
acquisition-related programming e-books, tutorials and push for free download.

achieve

This is because the current required for the project gradle not in offline mode below.

You need networking to download.

Found File -Setting - Gradle

gradle see your previous configuration is correct, then turn off the offline work offline mode

 

 

Then back to Android Studio, click on the upper right corner of the elephant logo, re-gradle.

 

 

Guess you like

Origin www.cnblogs.com/badaoliumangqizhi/p/12128566.html