Please ensure to place
libdeepspeech.so
into thelibdeepspeech/libs/{arm64-v8a,armeabi-v7a}/
matching subdirectories.
Where do I get the libdeepspeech.so ?
Do I need to do the bazel build thing?
Please ensure to place
libdeepspeech.so
into thelibdeepspeech/libs/{arm64-v8a,armeabi-v7a}/
matching subdirectories.
Where do I get the libdeepspeech.so ?
Do I need to do the bazel build thing?
Have you had a look at the release page ? Release DeepSpeech 0.6.1 · mozilla/DeepSpeech · GitHub
https://github.com/mozilla/DeepSpeech/releases/download/v0.6.1/native_client.arm64.cpu.android.tar.xz
https://github.com/mozilla/DeepSpeech/releases/download/v0.6.1/native_client.armv7.cpu.android.tar.xz
What are you trying to do, in the end ? The Android app is very very limited, it’s just here to serve as a showcase of using the API and running CI tests.
What are you trying to do, in the end ? The Android app is very very limited, it’s just here to serve as a showcase of using the API and running CI tests.
I want to see and use the demo. Check out how is the app built together… and I need to use it in my own android app.
Please keep in mind this is very limited.
Then check the documentation and just use the prebuilt AAR:
This can later be used by other
Gradle-based build with the following configuration:… code-block::
implementation ‘deepspeech.mozilla.org:libdeepspeech:VERSION@aar’
So just replace implementation project(':libdeepspeech')
in native_client/java/app/build.gradle
with implementation 'deepspeech.mozilla.org:libdeepspeech:0.6.1@aar'
and it should build.
Then check the documentation and just use the prebuilt AAR:
I was looking for that. But I could not find the pre built aar.
I am very to new to android and using linux. Please don’t mind my basic questions.
I just explained to you above what to change to use it.
In which folder do I need to paste these files in?
native_client??
Why don’t you just replace implementation project(:libdeepspeech)
as I suggested above ? This will be much easier.
I get ERROR: Failed to resolve: deepspeech.mozilla.org:libdeepspeech:0.6.1
Show in Project Structure dialog
Affected Modules: app
Please make sure you have JCenter: https://bintray.com/alissy/org.mozilla.deepspeech/libdeepspeech/0.6.1
As much as I can tell, it should be one of the defaults in recent Android. Several people reported success following those steps.
I really can’t help more at that point.
Also, that seems to be an incomplete error message. Without more details, it’s hard to get more insight.
hi @Rasika_Telang:
Have you made the apk successfully? i want to use this demo ,but i cant make apk successfully, could you share with me?