巴扎黑2017-04-17 17:39:05
1. Maybe your project is too big, but your computer memory is small. I have tried to compile a project of more than 800 MB, and it takes at least 5 minutes for the first time
2. It is recommended to use Android Studio version 2.1.2 and upgrade JDK to 1.8
黄舟2017-04-17 17:39:05
Modify your gradle configuration;
例如:
org.gradle.parallel=true
org.gradle.daemon=true
Compile the computer with more memory and change to a better CPU.