Modify the location of the Gradle local repository of android studio

Because Android studio uses the built-in Gradle by default

 


 

 

Copy Gradle's default directory to the drive letter of your desired repository

 


 

Example: I copied to the F drive

 


 

New environment variable:  GRADLE_USER_HOME

 


 

After the modification, restart the system! !

 

After restarting, open AS to view Gradle and find that his warehouse address has changed

 


 
 

 

http://blog.csdn.net/u011781521/article/details/53198422

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326906305&siteId=291194637