'Could not find com.beloo.widget:ChipsLayoutManager:0.3.7
I am using repositories mavenCentral() because jcenter() is deprecated. I want to implement com.beloo.widget:ChipsLayoutManager:0.3.7. But this is uploaded on jcenter().
Any Solutions to use com.beloo.widget:ChipsLayoutManager:0.3.7 in mavenCentral()
allprojects {
repositories {
google()
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'com.google.android.material:material:1.3.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.firebase:firebase-auth:21.0.1'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
implementation 'com.github.pchmn:MaterialChipsInput:1.0.8'
implementation 'com.beloo.widget:ChipsLayoutManager:0.3.7'
}
Error:
Execution failed for task ':app:checkDebugAarMetadata'.
Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not find com.beloo.widget:ChipsLayoutManager:0.3.7. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/beloo/widget/ChipsLayoutManager/0.3.7/ChipsLayoutManager-0.3.7.pom - https://repo.maven.apache.org/maven2/com/beloo/widget/ChipsLayoutManager/0.3.7/ChipsLayoutManager-0.3.7.pom - https://jitpack.io/com/beloo/widget/ChipsLayoutManager/0.3.7/ChipsLayoutManager-0.3.7.pom Required by: project :app project :app > com.github.pchmn:MaterialChipsInput:1.0.8
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
Solution 1:[1]
If its not uploaded to Maven Central, then you can't get it from Maven Central. These are file repositiories, they have to have the file to give it to you. Use jcenter, download the code of the library and build it a as a local library, or find another library with similar functionality.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Gabe Sechan |