How to include a jar file while packaging

Help How to include a jar file while packaging ?!


Hi There everyone,
When i package my project for android
i get this error
Z:\app\src\main\java\com\sphinxue4\SpeechRecognitionWorker.java:183: error: cannot find symbol

this symbol it cant find is supposd to be in a library called
pocketsphinx-android-5prealpha-nolib.jar

so how can i point the gradle to this library while packaging
i added it to

ProjectDir\Build\Android\libs
but no luck

thanks in advance

okay solved it
just had to include the correct directory in the XML file

SpeechRecognition_APL.xml

Hi is that SpeechRecognition_APL plugin working for you, i managed to fix the code to run with UE4 4.27.2 But when i package it the build does not work. I suspect i need to use this Xml file during the packaging process.

the recognition didnt work even after successful build , i used a custom flutter app to use google speech recognition and sent it over wifi to the game

HI are you able to share the solution. or share example. or resources. please.