admin管理员组

文章数量:1122846

I was trying to Add some dependencies I found on GitHub here's the links to those dependencies

And here's how I add them

implementation ("com.github.lincollincol:compose-audiowaveform:1.1.2") implementation ("com.github.lincollincol:amplituda:2.2.2")

I get these errors

Could not find com.github.lincollincol:compose-audiowaveform:1.1.2. Searched in the following locations:

.1.2/compose-audiowaveform-1.1.2.pom

.1.2/compose-audiowaveform-1.1.2.pom

Required by: project :androidApp

Could not find com.github.lincollincol:amplituda:2.2.2. Searched in the following locations:

I was trying to Add some dependencies I found on GitHub here's the links to those dependencies

https://github.com/lincollincol/compose-audiowaveform

https://github.com/lincollincol/Amplituda

And here's how I add them

implementation ("com.github.lincollincol:compose-audiowaveform:1.1.2") implementation ("com.github.lincollincol:amplituda:2.2.2")

I get these errors

Could not find com.github.lincollincol:compose-audiowaveform:1.1.2. Searched in the following locations:

https://dl.google.com/dl/android/maven2/com/github/lincollincol/compose-audiowaveform/1.1.2/compose-audiowaveform-1.1.2.pom

https://repo.maven.apache.org/maven2/com/github/lincollincol/compose-audiowaveform/1.1.2/compose-audiowaveform-1.1.2.pom

Required by: project :androidApp

Could not find com.github.lincollincol:amplituda:2.2.2. Searched in the following locations:

Share Improve this question asked Nov 22, 2024 at 10:14 Ernest Muhumuza Ernest Muhumuza 154 bronze badges 3
  • did you check the latest version? – Jayanta Sarkar Commented Nov 22, 2024 at 10:38
  • Yes those look to be the latest versions – Ernest Muhumuza Commented Nov 22, 2024 at 10:56
  • github.com/lincollincol/… Make sure to add Jitpack in repositories. – Abdullah Javed Commented Nov 22, 2024 at 13:11
Add a comment  | 

1 Answer 1

Reset to default 0

Make sure you have below code in your project level gradle or settings.gradle.kts

 repositories {
       google()
       mavenCentral()
       maven { url 'https://jitpack.io' }  //.gradle 
       or 
       maven { url = uri("https://jitpack.io") } //kts
    }

本文标签: Error Loading Dependencies Android Studio KotlinStack Overflow