Using tflite in android

Hello @reuben @lissyx @kdavis

Hope you are doing well.
I am using Deepspeech 0.4.1
I want to use my model in android and hence converted it into tflite successfully.
But how to use tflite in android and what is a step by step approach I don’t have an idea I referred native client readme.md but it actually confusing me more. Have anybody implemented or used tflite on android ?
If yes I want to know step by step approach.
Thank you so much in advance for always helping!!

Please use 0.6+

Have you had a look at native_client/java/ ?

Isn’t it possible to do in 0.4.1?

Yes, I looked at java/ but I am unable to build libdeepspeech.so file using Bazel. Not able to follow how-to build .so file.

You should try and share more context, I can’t read on your screen. Besides, you just have to add the Android-level dependency, as documented: https://github.com/mozilla/DeepSpeech/blob/master/native_client/java/README.rst#android-java--jni-bindings-libdeepspeech

Again, it does not looks like you read the documentation.

This is a quite old release now, we don’t support it anymore, and a lot (really a lot) has been improved for Android support: we don’t have any 0.4.1 AAR package published.