DeepSpeech-examples icon indicating copy to clipboard operation
DeepSpeech-examples copied to clipboard

unresolved reference on org.mozilla on android studio

Open diraniyoussef opened this issue 4 years ago • 4 comments

With this dependency it didn't work : implementation 'org.mozilla.deepspeech:libdeepspeech:0.9.3' but with this one it worked : implementation 'org.mozilla.deepspeech:libdeepspeech:0.9.1@aar'

I use : Android Studio 4.1.2 Build #AI-201.8743.12.41.7042882, built on December 20, 2020 Runtime version: 1.8.0_242-release-1644-b01 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0 GC: ParNew, ConcurrentMarkSweep Memory: 1237M Cores: 8 Registry: ide.new.welcome.screen.force=true, external.system.auto.import.disabled=true

diraniyoussef avatar Aug 31 '21 16:08 diraniyoussef

Same problem here

Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.

Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'. Could not find org.mozilla.deepspeech:libdeepspeech:0.9.3. Required by: project :app

Possible solution:

  • Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

backupandforkacc avatar Dec 17 '21 18:12 backupandforkacc

JCenter where the packages were uploaded closed last year, so they are not available anymore. Please pull them from github release and / or contribute to upload them somewhere else (non trivial job)

lissyx avatar Dec 18 '21 09:12 lissyx

I found version 0.9.2 uploaded to MavenCentral. And 0.9.3 under a different name: org.deepspeech:libdeepspeech https://search.maven.org/artifact/org.deepspeech/libdeepspeech/0.9.3/aar Do you know if it is genuine?

AndrazP avatar Jan 09 '23 11:01 AndrazP

I found version 0.9.2 uploaded to MavenCentral. And 0.9.3 under a different name: org.deepspeech:libdeepspeech https://search.maven.org/artifact/org.deepspeech/libdeepspeech/0.9.3/aar Do you know if it is genuine?

I think it was the result of expriments to perform upload (before we decided to use JCenter because its API was simpler and we were too busy on other things). This is likely the legit ones, but it would be broken code. You should move to Coqui.

lissyx avatar Jan 09 '23 11:01 lissyx