具体错误:
Could not determine java version from '11.0.8'. The project uses Gradle version which is incompatible with Studio running on Java 10 or newer. See details at https://github.com/gradle/gradle/issues/8431 Possible solution: - Upgrade Gradle wrapper to 4.8.1 version and re-import the project
找到工程目录的gradle/wapper/gradle-wrapper.properties,打开:
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
Android Studio->Project Structure