报错:Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Navigate to the directory C:\Users\<username>\.gradle
Create file gradle.properties
Content: org.gradle.jvmargs=-Xmx512m
Restart your Android Studio project and you're done.
Gradle project sync failed. Please fix your project and try again
Option II:
File -> Settings Search for Gradle, make the following modifications (specify the location of the manually downloaded gradle), gradle download, please click here: Click to open the link
Check offline work