mozilla / DeepSpeech-examples

Examples of how to use or integrate DeepSpeech
821 stars 347 forks source link

unresolved reference on org.mozilla on android studio #149

Open diraniyoussef opened 3 years ago

diraniyoussef commented 3 years ago

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

backupandforkacc commented 2 years ago

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:

lissyx commented 2 years ago

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)

AndrazP commented 1 year ago

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?

lissyx commented 1 year ago

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.