cmusphinx/pocketsphinx

error: package edu.cmu.pocketsphinx does not exist

ssshammi opened this issue · 0 comments

IS this something i could find answers to from this repo not able to package as andriod.

2022-07-11

ATHelper: Packaging (Android (ASTC)): ====11-07-2022 10:34:06====PERFORMING FINAL APK PACKAGE OPERATION=====-armv7=========================================== UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\jniLibs\Android.mk. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\jniLibs\Application.mk. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\jniLibs\armeabi-v7a\libpocketsphinx.a. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\jniLibs\armeabi-v7a\libpocketsphinx_jni.so. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\jniLibs\armeabi-v7a\libpocketsphinx_wrap.a. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\jniLibs\armeabi-v7a\libsphinxbase_wrap.a. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\jniLibs\armeabi-v7a\libsphinxfe.a. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\jniLibs\armeabi-v7a\libsphinxfeat.a. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\jniLibs\armeabi-v7a\libsphinxlm.a. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\jniLibs\armeabi-v7a\libsphinxutil.a. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\jniLibs\armeabi\libpocketsphinx.a. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\jniLibs\armeabi\libpocketsphinx_jni.so. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\jniLibs\armeabi\libpocketsphinx_wrap.a. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\jniLibs\armeabi\libsphinxbase_wrap.a. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\jniLibs\armeabi\libsphinxfe.a. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\jniLibs\armeabi\libsphinxfeat.a. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\jniLibs\armeabi\libsphinxlm.a. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\jniLibs\armeabi\libsphinxutil.a. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\res\drawable\downloadimageh.png. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\res\drawable\icon.png. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\res\drawable\splashscreen_landscape.png. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\res\drawable-hdpi\icon.png. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\res\drawable-ldpi\icon.png. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\res\drawable-mdpi\icon.png. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\res\drawable-xhdpi\icon.png. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\java\com\epicgames\ue4\DownloadShim.java. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\java\com\YourCompany\Sppechtest\OBBData.java. UATHelper: Packaging (Android (ASTC)): Copied file D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\app\src\main\java\com\sphinxue4\SpeechRecognitionWorker.java. UATHelper: Packaging (Android (ASTC)): Fixing minSdkVersion; NDK level above 19 requires minSdkVersion of 21 (arch=armv7) UATHelper: Packaging (Android (ASTC)): Creating rungradle.bat to work around commandline length limit (using unused drive letter Z:) UATHelper: Packaging (Android (ASTC)): Making .apk with Gradle... UATHelper: Packaging (Android (ASTC)): To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.1.1/userguide/gradle_daemon.html. UATHelper: Packaging (Android (ASTC)): Daemon will be stopped at the end of the build stopping after processing UATHelper: Packaging (Android (ASTC)): Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 UATHelper: Packaging (Android (ASTC)): Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 UATHelper: Packaging (Android (ASTC)): Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 UATHelper: Packaging (Android (ASTC)): Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 UATHelper: Packaging (Android (ASTC)): Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 UATHelper: Packaging (Android (ASTC)): Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 UATHelper: Packaging (Android (ASTC)): Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 UATHelper: Packaging (Android (ASTC)): Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 UATHelper: Packaging (Android (ASTC)): Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 UATHelper: Packaging (Android (ASTC)): Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 UATHelper: Packaging (Android (ASTC)): Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 UATHelper: Packaging (Android (ASTC)): Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 UATHelper: Packaging (Android (ASTC)): Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 UATHelper: Packaging (Android (ASTC)): Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 UATHelper: Packaging (Android (ASTC)): Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 UATHelper: Packaging (Android (ASTC)): > Task :app:preBuild UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :app:preDebugBuild UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:preBuild UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:preDebugBuild UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:compileDebugAidl NO-SOURCE UATHelper: Packaging (Android (ASTC)): > Task :permission_library:preBuild UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :permission_library:preDebugBuild UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :permission_library:compileDebugAidl NO-SOURCE UATHelper: Packaging (Android (ASTC)): > Task :app:compileDebugAidl UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:packageDebugRenderscript NO-SOURCE UATHelper: Packaging (Android (ASTC)): > Task :permission_library:packageDebugRenderscript NO-SOURCE UATHelper: Packaging (Android (ASTC)): > Task :app:compileDebugRenderscript NO-SOURCE UATHelper: Packaging (Android (ASTC)): > Task :app:generateDebugBuildConfig UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :app:javaPreCompileDebug UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :app:generateDebugResValues UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :app:generateDebugResources UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:compileDebugRenderscript NO-SOURCE UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:generateDebugResValues UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:generateDebugResources UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:packageDebugResources UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :permission_library:generateDebugResValues UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :permission_library:compileDebugRenderscript NO-SOURCE UATHelper: Packaging (Android (ASTC)): > Task :permission_library:generateDebugResources UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :permission_library:packageDebugResources UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :app:extractDeepLinksDebug UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:extractDeepLinksDebug UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:processDebugManifest UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :permission_library:extractDeepLinksDebug UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :permission_library:processDebugManifest UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :app:processDebugManifest UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:compileDebugLibraryResources UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:parseDebugLocalResources UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:generateDebugRFile UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :permission_library:compileDebugLibraryResources UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :permission_library:parseDebugLocalResources UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :permission_library:generateDebugRFile UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:generateDebugBuildConfig UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:javaPreCompileDebug UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:compileDebugJavaWithJavac UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:bundleLibCompileToJarDebug UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :permission_library:generateDebugBuildConfig UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :permission_library:javaPreCompileDebug UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :permission_library:compileDebugJavaWithJavac UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :permission_library:bundleLibCompileToJarDebug UP-TO-DATE UATHelper: Packaging (Android (ASTC)): > Task :app:mergeDebugResources UATHelper: Packaging (Android (ASTC)): aapt2.exe W 07-11 10:34:19 13388 5340 LoadedArsc.cpp:657] Unknown chunk type '200'. UATHelper: Packaging (Android (ASTC)): > Task :app:processDebugResources UATHelper: Packaging (Android (ASTC)): > Task :app:compileDebugJavaWithJavac FAILED UATHelper: Packaging (Android (ASTC)): The following annotation processors are not incremental: lifecycle-compiler-2.0.0.jar (androidx.lifecycle:lifecycle-compiler:2.0.0). UATHelper: Packaging (Android (ASTC)): Make sure all annotation processors are incremental to improve your build speed. UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\com\sphinxue4\SpeechRecognitionWorker.java:4: error: package edu.cmu.pocketsphinx does not exist UATHelper: Packaging (Android (ASTC)): import static edu.cmu.pocketsphinx.SpeechRecognizerSetup.defaultSetup; UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\com\sphinxue4\SpeechRecognitionWorker.java:4: error: static import only from classes and interfaces UATHelper: Packaging (Android (ASTC)): import static edu.cmu.pocketsphinx.SpeechRecognizerSetup.defaultSetup; UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\com\sphinxue4\SpeechRecognitionWorker.java:5: error: package edu.cmu.pocketsphinx does not exist UATHelper: Packaging (Android (ASTC)): import static edu.cmu.pocketsphinx.Decoder.defaultConfig; UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\com\sphinxue4\SpeechRecognitionWorker.java:5: error: static import only from classes and interfaces UATHelper: Packaging (Android (ASTC)): import static edu.cmu.pocketsphinx.Decoder.defaultConfig; UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\com\sphinxue4\SpeechRecognitionWorker.java:6: error: package edu.cmu.pocketsphinx does not exist UATHelper: Packaging (Android (ASTC)): import static edu.cmu.pocketsphinx.Decoder.fileConfig; UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\com\sphinxue4\SpeechRecognitionWorker.java:6: error: static import only from classes and interfaces UATHelper: Packaging (Android (ASTC)): import static edu.cmu.pocketsphinx.Decoder.fileConfig; UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\com\sphinxue4\SpeechRecognitionWorker.java:41: error: package edu.cmu.pocketsphinx does not exist UATHelper: Packaging (Android (ASTC)): import edu.cmu.pocketsphinx.*; UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\com\sphinxue4\SpeechRecognitionWorker.java:45: error: cannot find symbol UATHelper: Packaging (Android (ASTC)): public class SpeechRecognitionWorker implements Runnable, RecognitionListener { UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): symbol: class RecognitionListener UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\com\sphinxue4\SpeechRecognitionWorker.java:76: error: cannot find symbol UATHelper: Packaging (Android (ASTC)): private Config config; UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): symbol: class Config UATHelper: Packaging (Android (ASTC)): location: class SpeechRecognitionWorker UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\com\sphinxue4\SpeechRecognitionWorker.java:77: error: cannot find symbol UATHelper: Packaging (Android (ASTC)): private SpeechRecognizer recognizer; UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): symbol: class SpeechRecognizer UATHelper: Packaging (Android (ASTC)): location: class SpeechRecognitionWorker UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\com\sphinxue4\SpeechRecognitionWorker.java:166: error: cannot find symbol UATHelper: Packaging (Android (ASTC)): public void onPartialResult(Hypothesis hypothesis) { UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): symbol: class Hypothesis UATHelper: Packaging (Android (ASTC)): location: class SpeechRecognitionWorker UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\com\sphinxue4\SpeechRecognitionWorker.java:183: error: cannot find symbol UATHelper: Packaging (Android (ASTC)): public void onResult(Hypothesis hypothesis, ArrayList<String> words, ArrayList<Integer> startFrames, ArrayList<Integer> endFrames) { UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): symbol: class Hypothesis UATHelper: Packaging (Android (ASTC)): location: class SpeechRecognitionWorker UATHelper: Packaging (Android (ASTC)): 12 errors UATHelper: Packaging (Android (ASTC)): FAILURE: Build failed with an exception. UATHelper: Packaging (Android (ASTC)): * What went wrong: UATHelper: Packaging (Android (ASTC)): Execution failed for task ':app:compileDebugJavaWithJavac'. UATHelper: Packaging (Android (ASTC)): > Compilation failed; see the compiler error output for details. UATHelper: Packaging (Android (ASTC)): * Try: UATHelper: Packaging (Android (ASTC)): 32 actionable tasks: 4 executed, 28 up-to-date UATHelper: Packaging (Android (ASTC)): Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. UATHelper: Packaging (Android (ASTC)): * Get more help at https://help.gradle.org UATHelper: Packaging (Android (ASTC)): BUILD FAILED in 14s UATHelper: Packaging (Android (ASTC)): ERROR: cmd.exe failed with args /c "D:\Others\Sppechtest\Intermediate\Android\armv7\gradle\rungradle.bat" :app:assembleDebug UATHelper: Packaging (Android (ASTC)): (see C:\Users\sssha\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.27\Log.txt for full exception trace) UATHelper: Packaging (Android (ASTC)): AutomationTool exiting with ExitCode=1 (Error_Unknown) UATHelper: Packaging (Android (ASTC)): BUILD FAILED PackagingResults: Error: Unknown Error