梦幻之云

关注

Failed to resolve: com.github.*

梦幻之云

关注

阅读 73

2022-03-16

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

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

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

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

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

相关推荐

奋斗De奶爸

Android 导入依赖包:Failed to resolve: com.github...

奋斗De奶爸 48 0 0

mjjackey

Git解决“Could not resolve host:github.com“

mjjackey 148 0 0

拾光的Shelly

fatal: unable to access 'https://github.com/.../.git': Could not resolve host: github.com

拾光的Shelly 102 0 0

小布_cvg

Could not resolve com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.28.

小布_cvg 33 0 0

M4Y

010 Failed to resolve: com.squareup.okhttp3:okhttp:3.4.1

M4Y 19 0 0

王小沫

Failed to apply plugin 'com.github.dcendents.android-maven

王小沫 76 0 0

七千22

github push 出错:fatal: Authentication failed for 'https://github.com/ ..的解决

七千22 57 0 0

代码小姐

Failed to connect to github.com port 443: Connection refused

代码小姐 516 0 0

墨春

解决 error: failed to push some refs to 'https://github.com/

墨春 144 0 0

芭芭蘑菇

解决git clone时报 Failed to connect to github.com 问题

芭芭蘑菇 80 0 0

精彩评论(0)

0 0 举报