afkT/DevUtils

关联库出错

Jasperben opened this issue · 3 comments

Failed to resolve: DevAppX-2.0.6

2.0.3可以下下来 之后的版本下载不下来

afkT commented

尝试一下在根目录的 gradle 加上这个试试

allprojects {
    repositories {
        // 所有的 model 都优先使用阿里源
        maven { url 'https://maven.aliyun.com/repository/google' }
        maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
        maven { url 'https://maven.aliyun.com/repository/public' }
        maven { url 'https://maven.aliyun.com/repository/jcenter' }

        google()
        jcenter()

        // JitPack Maven
        maven { url 'https://jitpack.io' }

        maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
    }
}
afkT commented

可以试下最新的版本 implementation 'com.afkt:DevAppX:2.0.7'

如果还是不行在 gradle 加这个

allprojects {
    repositories {
        // bintray maven 出现 Failed to resolve: DevAppX-x.x.x 可考虑加上这句
        maven { url 'https://dl.bintray.com/afkt/maven' }
    }
}