DotLoadersPack-Android icon indicating copy to clipboard operation
DotLoadersPack-Android copied to clipboard

Repository does not sync build.gradle

Open Hmerman6006 opened this issue 3 years ago • 2 comments

Added repository to Module build.gradle and synced. Also added JCentre to project. Android Studio complains it cannot find build.gradle.

Gradle version: com.android.tools.build:gradle:4.1.1 Kotlin: v1.5.0

Hmerman6006 avatar Mar 18 '22 09:03 Hmerman6006

add jcenter() into your dependencies: repositories { google() mavenCentral() jcenter() }

dggorbachev avatar Jun 20 '23 07:06 dggorbachev

please add this in your settings.gradle

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.PREFER_PROJECT)
    repositories {
        google()
        mavenCentral()
        maven("https://jcenter.bintray.com")
    }
}

repository was hosted in jcenter which is deprecrated now , hence explicitly specify the url . @Hmerman6006

JaySpaceMonkey avatar Mar 11 '24 12:03 JaySpaceMonkey