-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
edu.cmu.pocketsphinx static import only from classes and interfaces #24
Comments
`Only able to package it with armv7 and when i try to set the debug mode on i get this https://stackoverflow.com/questions/73361300/adb-install-error-obb-file-unreal-andriod-aar
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just this bug remain...
Issue while packaging for andriod
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
The text was updated successfully, but these errors were encountered: