Configure GRADLE_HOME :
Find the location of gradle in Android Studio
E:\Android_Studio\gradle\gradle-2.10
配置GRADLE_USER_HOME:
Find a place with a large drive letter space to relocate the .gradle file
For example, I put it in E:\Android\.gradle
config path :
Add %GRADLE_HOME%\bin to path
Next, check whether the path has been added successfully in the command prompt
If it is successful in the path, then enter gradle -v in the command prompt to see if gradle has been configured successfully
If the version information of gradle appears, it means that you have successfully configured