Enable Offline Work:
- Click File -> Settings. Search for "gradle" and click in
Offline work
box. - Go to Compiler (in same settings dialog just below
Gradle
) and add--offline
toCommand-line Options
text box.
Improve Gradle Performance
Add following two line of code in your gradle.properties file.
org.gradle.daemon=true
org.gradle.parallel=true