赞
踩
打开android的一个项目结果打不了报错
Unsupported Java.
Your build is currently configured to use Java 1.8.0_192 and Gradle 5.6.4.
Possible solution:
- Open Gradle wrapper settings, change `distributionUrl` property to use compatible Gradle version and reload the project
疯狂更换但是无用!!!!
于是在Android Studio配置多个代码仓库repositories
- repositories {
- mavenCentral()
- maven { url "https://jitpack.io" }
- maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
- maven { url 'http://maven.oschina.net/content/groups/public/' }
- maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
- maven { url "http://maven.springframework.org/release" }
- maven { url "http://maven.restlet.org" }
- maven { url "http://mirrors.ibiblio.org/maven2" }
- maven {
- url "http://repo.baichuan-android.taobao.com/content/groups/BaichuanRepositories/"
- }
- maven { url 'https://maven.fabric.io/public' }
- jcenter()
- google()
- }
结果还是不行!,于是找其他项目的仓库地址继续添加
结果成功了!!!!!!
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。