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

突然无法解析了 #832

Open
a120476536 opened this issue Jun 26, 2024 · 3 comments
Open

突然无法解析了 #832

a120476536 opened this issue Jun 26, 2024 · 3 comments

Comments

@a120476536
Copy link

implementation("org.litepal.guolindev:core:3.2.3")

Failed to resolve: org.litepal.guolindev:core:3.2.3
Show in Project Structure dialog
Affected Modules: app

distributionUrl=https://services.gradle.org/distributions/gradle-8.0-bin.zip

buildscript {
repositories {
google()
jcenter()
mavenCentral()
gradlePluginPortal()
// hms, 若不集成华为厂商通道,可直接跳过
maven(url ="https://developer.huawei.com/repo/")
maven ( url ="https://jitpack.io" )
}
dependencies {
// classpath ("com.android.tools.build:gradle:8.1.3")
// FCM 插件的 classpath
// classpath("com.google.gms:google-services:4.3.8")
// 华为 HMS 插件的 classpath
classpath("com.huawei.agconnect:agcp:1.6.0.300")
}
}

@a120476536 a120476536 changed the title 突然不发解析了 突然无法解析了 Jun 26, 2024
@Arsun
Copy link

Arsun commented Jun 26, 2024 via email

@likfe
Copy link

likfe commented Aug 26, 2024

jcenter 在2024-08-15正式下线了,删除并添加阿里云的源就可以了。

jcenter() //删除
maven { url 'https://maven.aliyun.com/repository/public' } //添加

详情参考:https://likfe.com/2024/08/26/jcenter-down/

@Arsun
Copy link

Arsun commented Aug 26, 2024 via email

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