Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not resolve com.youzanyun.open.mobile:x5sdk:7.0.0 #36

Open
zhuhuan0122 opened this issue Dec 17, 2020 · 2 comments
Open

Could not resolve com.youzanyun.open.mobile:x5sdk:7.0.0 #36

zhuhuan0122 opened this issue Dec 17, 2020 · 2 comments

Comments

@zhuhuan0122
Copy link

Could not resolve all task dependencies for configuration ':app:releaseRuntimeClasspath'.
Could not resolve com.youzanyun.open.mobile:x5sdk:7.0.0.
Required by:
project :app
> Could not resolve com.youzanyun.open.mobile:x5sdk:7.0.0.
> Could not get resource 'https://maven.google.com/com/youzanyun/open/mobile/x5sdk/7.0.0/x5sdk-7.0.0.pom'.
> Could not HEAD 'https://maven.google.com/com/youzanyun/open/mobile/x5sdk/7.0.0/x5sdk-7.0.0.pom'.
> Connect to maven.google.com:443 [maven.google.com/172.217.160.110] failed: connect timed out

翻墙这个版本的包也没有。麻烦看下,怎么回事?

@ErikWei
Copy link

ErikWei commented Dec 17, 2020

allprojects {
repositories {
//有赞 Youzan
maven { url 'https://dl.bintray.com/youzanyun/maven/' }

把youzan的maven url放repositories的第一行,
并且:
buildscript里repositories里也加上youzan的maven url,似乎就可以了。

@dengshiwei
Copy link

@ErikWei 你本地有 7.0 的包吗?能否发给我使用一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants