jitpack.io icon indicating copy to clipboard operation
jitpack.io copied to clipboard

Failed to resolve: org.adblockplus:adblock-android-webview:4.4.0

Open hostingvosting opened this issue 1 year ago • 2 comments

Failed to resolve: org.adblockplus:adblock-android-webview:4.4.0

hostingvosting avatar Aug 23 '24 19:08 hostingvosting

Failed to resolve: org.adblockplus:adblock-android-webview:4.4.0

same error here too

iang12 avatar Aug 26 '24 11:08 iang12

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Sep 26 '24 01:09 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Oct 26 '24 01:10 github-actions[bot]

any solution !?

midou221 avatar Dec 21 '24 08:12 midou221

Image

As shown in the screenshot above, the maven repository tells me that the artifact library org.adblockplus:adblock-android:4.4.0 is located in Appodeal. So I added a new maven repository url in my build.gradle.kts with :

maven { url = uri("https://artifactory.appodeal.com/appodeal-public/") }
pluginManagement {
    repositori {
        google {
            konten {
                includeGroupByRegex("com\\.android.*")
                includeGroupByRegex("com\\.google.*")
                includeGroupByRegex("androidx.*")
            }
        }
        mavenCentral()
        gradlePluginPortal()
    }
}
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositori {
        google()
        mavenCentral()
        maven { url = uri("https://artifactory.appodeal.com/appodeal-public/") }
    }
}

rootProject.name = "Browser"
include(":app")

But when searching for the library org.adblockplus:adblock-android-webview:4.4.0, the Maven repository actually points to the repository JCenter. I'm not sure why it points to the JCenter repository.

Image

But surely the artifact library org.adblockplus:adblock-android-webview:4.4.0 is not in the repository JCenter. So just configure the Maven repository url to

https://artifactory.appodeal.com/appodeal-public/

as in the first step. And that works for now.

Image

decryptable avatar Jan 30 '25 03:01 decryptable