new apps and app updates to target Android 14 (API level 34) Could not find ren.yale.android:cachewebviewlib:2.1.8. An error
Mobile: samsung phone
Android OS: android 14 (SDK 34)
NetWork: any network
URL: - https://dl.google.com/dl/android/maven2/ren/yale/android/cachewebviewlib/2.1.8/cachewebviewlib-2.1.8.pom - https://jcenter.bintray.com/ren/yale/android/cachewebviewlib/2.1.8/cachewebviewlib-2.1.8.pom (404 not found)
LIB Version: ren.yale.android:cachewebviewlib:all-version
hello thank youre service. :D
A policy has been announced requiring new apps and app updates to target Android 14 (API level 34) to be submitted to Google Play. While upgrading our webview app to API level 34 or higher, when making build for all versions of "ren.yale.android:cachewebviewlib", we received the error message Could not find ren.yale.android:cachewebviewlib:2.1.8. An error will occur:
Is there a solution? Or is that open source a discontinued project? Are there any open sources that can be replaced by other open sources?
@yale8848 Please look into this
The root cause is that jcenter repository has completely stopped serving
see: https://jfrog.com/blog/jcenter-sunset/
I found a Jcenter repository mirror, you can add maven { url "https://maven.aliyun.com/nexus/content/groups/public" } to the allprojects node in the project's build.gradle file like below, then you can successfully download this dependency.
allprojects {
repositories {
google()
mavenCentral()
maven { url "https://jitpack.io" }
maven { url "https://maven.aliyun.com/nexus/content/groups/public" }
}
}
Considering that I am not sure how long this image can be used, it is recommended to import the downloaded dependencies into the project in the form of static aar files. The dependency location downloaded by gradle is: ~/.gradle/caches/modules-2/files-2.1
Jcenter 리포지토리 미러를 발견했습니다. 추가할 수 있습니다.
maven { url "https://maven.aliyun.com/nexus/content/groups/public" }에게allprojects프로젝트의 build.gradle 파일에 아래와 같은 노드가 있으면 이 종속성을 성공적으로 다운로드할 수 있습니다.allprojects { repositories { google() mavenCentral() maven { url "https://jitpack.io" } maven { url "https://maven.aliyun.com/nexus/content/groups/public" } } }이 이미지를 얼마나 오래 사용할 수 있을지 확실하지 않다는 점을 고려할 때, 다운로드된 종속성을 정적 ar 파일 형태로 프로젝트에 가져오는 것이 좋습니다. Gradle에서 다운로드한 종속 위치는 다음과 같습니다:
~/.gradle/caches/modules-2/files-2.1
thank you. I'll give it a try
使用这个源站:
maven("https://artifactory.appodeal.com/appodeal-public/")
use this repo:
maven("https://artifactory.appodeal.com/appodeal-public/")
问题的原因是由于本软件包只发布在了JCenter上,而JCenter已经关闭,导致再无法下载该软件包。 最后,该软件包已经过时且不再维护,请立刻从应用中移除对该软件包的依赖并取消对该仓库的star。