Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with WebRTC VAD Library Integration #13

Closed
drone0898 opened this issue Jul 11, 2023 · 2 comments
Closed

Issues with WebRTC VAD Library Integration #13

drone0898 opened this issue Jul 11, 2023 · 2 comments

Comments

@drone0898
Copy link

drone0898 commented Jul 11, 2023

Hello,

I've been trying to use the WebRTC VAD library in my project, but I've encountered issue:

  1. When I add implementation 'com.github.gkonovalov.android-vad:webrtc:2.0.3' to my app's Gradle file, I get the following error: Failed to resolve: com.github.gkonovalov.android-vad:webrtc:2.0.3. This happens even though I have registered maven 'https://jitpack.io/' repositories.

Thank you for providing this great library! I would appreciate any help in resolving these issues.

Android Studio Version : Android Studio Flamingo | 2022.2.1 Patch 2
Kotlin Version : 1.8.10 * JAVA_17
Gradle Version : 8.0

@jay-devx
Copy link

Do this in build.gradle (Module)

implementation 'com.github.gkonovalov.android-vad:webrtc:2.0.3'
implementation 'com.github.gkonovalov.android-vad:silero:2.0.3'
implementation 'com.microsoft.onnxruntime:onnxruntime-android:1.15.0'

Do this in Settings.gradle

pluginManagement {
    repositories {
        google()
        mavenCentral()
        maven { url 'https://jitpack.io' }
        gradlePluginPortal()
    }
}
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        maven { url 'https://jitpack.io' }
    }
}

@drone0898
Copy link
Author

settings.gradle
maven { url 'https://jitpack.io' } code works for me
thanks for your help.

@uncleTan uncleTan mentioned this issue Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants