账号密码登录
微信安全登录
微信扫描二维码登录

登录后绑定QQ、微信即可实现信息互通

手机验证码登录
找回密码返回
邮箱找回 手机找回
注册账号返回
其他登录方式
分享
  • 收藏
    X
    android studio新建项目gradle sync 失败,Could not find auto-value.jar
    31
    0

    在家可以运行的程序,到学校就不行了

    最新版本的android studio 3.1.4,gradle是4.4

    相关代码

    buildscript {

    
    repositories {
        jcenter()
        google()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.3'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }

    }

    allprojects {

    repositories {
        jcenter()
        google()
    }

    }

    task clean(type: Delete) {

    delete rootProject.buildDir

    }

    错误信息

    Could not find auto-value.jar (com.google.auto.value:auto-value:1.5.2).
    Searched in the following locations:

    https://jcenter.bintray.com/com/google/auto/value/auto-value/1.5.2/auto-value-1.5.2.jar
    
    
    0
    打赏
    收藏
    点击回答
        全部回答
    • 0
    • 一世霸气 普通会员 1楼
      502 Bad Gateway

      502 Bad Gateway


      nginx
    更多回答
    扫一扫访问手机版
    • 回到顶部
    • 回到顶部