just-ai / aimybox-android-sdk

Voice assistant SDK for Android
https://aimybox.com
Apache License 2.0
73 stars 16 forks source link

AimyBox Kaldi speech kit error #131

Open cdhiraj40 opened 2 years ago

cdhiraj40 commented 2 years ago

https://github.com/just-ai/aimybox-android-sdk/blob/293adf9dd7a8594548c00d309961ddfffcc7464a/kaldi-speechkit/build.gradle.kts#L32

* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find com.alphacephei:vosk-android:0.3.23.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/alphacephei/vosk-android/0.3.23/vosk-android-0.3.23.pom
       - https://repo.maven.apache.org/maven2/com/alphacephei/vosk-android/0.3.23/vosk-android-0.3.23.pom
       - file:/home/thefunnyintrovert/.m2/repository/com/alphacephei/vosk-android/0.3.23/vosk-android-0.3.23.pom
       - https://jitpack.io/com/alphacephei/vosk-android/0.3.23/vosk-android-0.3.23.pom
     Required by:
         project :app > com.just-ai.aimybox:kaldi-speechkit:0.16.9

Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.alphacephei:vosk-android:0.3.23.

Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.alphacephei:vosk-android:0.3.23.
Searched in the following locations:
  - https://dl.google.com/dl/android/maven2/com/alphacephei/vosk-android/0.3.23/vosk-android-0.3.23.pom
  - https://repo.maven.apache.org/maven2/com/alphacephei/vosk-android/0.3.23/vosk-android-0.3.23.pom
  - file:/home/thefunnyintrovert/.m2/repository/com/alphacephei/vosk-android/0.3.23/vosk-android-0.3.23.pom
  - https://jitpack.io/com/alphacephei/vosk-android/0.3.23/vosk-android-0.3.23.pom
Required by:
    project :app > com.just-ai.aimybox:kaldi-speechkit:0.16.9

==============================================================================
Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.alphacephei:vosk-android:0.3.23.
Searched in the following locations:
Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.alphacephei:vosk-android:0.3.23.

  - https://dl.google.com/dl/android/maven2/com/alphacephei/vosk-android/0.3.23/vosk-android-0.3.23.pom
  - https://repo.maven.apache.org/maven2/com/alphacephei/vosk-android/0.3.23/vosk-android-0.3.23.pom
  - file:/home/thefunnyintrovert/.m2/repository/com/alphacephei/vosk-android/0.3.23/vosk-android-0.3.23.pom
  - https://jitpack.io/com/alphacephei/vosk-android/0.3.23/vosk-android-0.3.23.pom
Required by:
    project :app > com.just-ai.aimybox:kaldi-speechkit:0.16.9

==============================================================================

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

BUILD FAILED in 1s
19 actionable tasks: 7 executed, 12 up-to-date

more information: https://jitpack.io/#alphacep/vosk-api

I believe this is why the error is coming as vosk does not have 0.3.23 on jitpack, please either change it to a stable 0.3.32 or give me a solution to build.

cdhiraj40 commented 2 years ago

please do something regarding this as I would love to use voice triggers and aimybox:kaldi-speechkit seems to be a good option for me. @morfeusys @kusraevs @antontinishov @lambdatamer