livekit / client-sdk-android

LiveKit SDK for Android
https://docs.livekit.io
Apache License 2.0
174 stars 69 forks source link

Could not find com.github.davidliu:audioswitch:fb33b237aa50b3d1d2dea0e0695ecb7b38a98971 #255

Closed yhilem closed 1 year ago

yhilem commented 1 year ago

Hi Can't compile my projet with this dependency : implementation("io.livekit:livekit-android:1.2.2")

>gradlew build
> Task :android-app-agent:dataBindingMergeDependencyArtifactsDebug FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':android-app-agent:dataBindingMergeDependencyArtifactsDebug'.
> Could not resolve all files for configuration ':android-app-agent:debugRuntimeClasspath'.
   > Could not find com.github.davidliu:audioswitch:fb33b237aa50b3d1d2dea0e0695ecb7b38a98971.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/github/davidliu/audioswitch/fb33b237aa50b3d1d2dea0e0695ecb7b38a98971/audioswitch-fb33b237aa50b3d1d2dea0e0695ecb7b38a98971.pom
       - https://repo.maven.apache.org/maven2/com/github/davidliu/audioswitch/fb33b237aa50b3d1d2dea0e0695ecb7b38a98971/audioswitch-fb33b237aa50b3d1d2dea0e0695ecb7b38a98971.pom
     Required by:
         project :android-app-agent > project :android-app-common > io.livekit:livekit-android:1.2.2

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
1 actionable task: 1 executed

Thanks

yhilem commented 1 year ago

Sorry, I commented repositories mode FAIL_ON_PROJECT_REPOS in my settings.grale and no the build is ok.

dependencyResolutionManagement {
    //repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
    }
}