Enable Offline Work:
1. Click File -> Settings. Search for “gradle” and click in Offline work box.
2. Go to Compiler (in same settings dialog just below Gradle) and add –offline to Command-line Options text

Improve Gradle Performance
Add following two line of code in your gradle.properties file.

Increasing the value of -Xmx and -Xms in studio.vmoptions file

Leave a Reply

Your email address will not be published. Required fields are marked *