0
点赞
收藏
分享

微信扫一扫

Failed to resolve: com.github.*

梦幻之云 2022-03-16 阅读 73

引入外部包时常见说要在项目根目录的build.gradle中添加

allprojects {
    repositories {
        ......
        maven { url 'https://jitpack.io' }
    }
}

但还是会报错Failed to resolve: com.github.*

最新的androidStudio要到根目录的settings.gradle中去添加

repositories {
    ......
    maven { url 'https://jitpack.io' }
}
举报

相关推荐

0 条评论