WARNING: The following configs were expanded more than once: [android]. For repeatable flags, repeats are counted twice and may lead to unexpected behavior.
WARNING: option ‘–crosstool_top’ was expanded to from both option ‘–config=download_clang’ (source /home/udaram/Desktop/TCS_Internship/DeepspeechModel/tensorflow/.tf_configure.bazelrc) and option ‘–config=android’ (source command line options)
INFO: Analysed target //native_client:libdeepspeech.so (0 packages loaded, 0 targets configured).
INFO: Found 1 target…
ERROR: /home/udaram/Desktop/TCS_Internship/DeepspeechModel/tensorflow/native_client/BUILD:63:1: C++ compilation of rule ‘//native_client:decoder’ failed (Exit 127)
external/androidndk/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
Target //native_client:libdeepspeech.so failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 9.142s, Critical Path: 0.74s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
If I am doing wrong, please guide me toward right way to generate apk file for Android device.
Thanks in advance @lissyx please guide
all the above issues ha been resolved succesfully…
but facing problem in following steps given at this link…
on running DeepSpeech/native_client/java$ ./gradlew libdeepspeech:build
getting output like this…
Configure project :libdeepspeech
arm64-v8a armeabi-v7a x86_64WARNING: Support for ANDROID_NDK_HOME is deprecated and will be removed in the future. Use android.ndkVersion in build.gradle instead.
Support for ANDROID_NDK_HOME is deprecated and will be removed in the future. Use android.ndkVersion in build.gradle instead.