gradle related issues
1. Download gradle be quite slow can modify the script inside Download recommend this site https://services.gradle.org/distributions/
Cache download 2.gradle rather slow build.gradle can modify the inside of such a modified picture of Ali cloud
3. Delete Ubuntu comes with java
apt-cache search java | awk '{print($1)}' | grep -E -e '^(ia32-)?(sun|oracle)-java' -e '^openjdk-' -e '^icedtea' -e '^(default|gcj)-j(re|dk)' -e '^gcj-(.*)-j(re|dk)' -e 'java-common' | xargs sudo apt-get -y remove apt-get -y autoremove dpkg -l | grep ^rc | awk '{print($2)}' | xargs sudo apt-get -y purge bash -c 'ls -d /home/*/.java' | xargs sudo rm -rf rm -rf /usr/lib/jvm/*