具体错误:

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

 

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐