cmusphinx/pocketsphinx-android

Files missing edu.cmu.pocketsphinx.Decoder.defaultConfig

ssshammi opened this issue · 0 comments

Hi do you have the source? some library files are missing.

image

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\edu\cmu\pocketsphinx\SpeechRecognizerSetup.java:33: error: package edu.cmu.pocketsphinx.Decoder does not exist UATHelper: Packaging (Android (ASTC)): import edu.cmu.pocketsphinx.Decoder.defaultConfig; UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\edu\cmu\pocketsphinx\SpeechRecognizerSetup.java:34: error: package edu.cmu.pocketsphinx.Decoder does not exist UATHelper: Packaging (Android (ASTC)): import edu.cmu.pocketsphinx.Decoder.fileConfig; UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\com\sphinxue4\SpeechRecognitionWorker.java:4: error: cannot find symbol UATHelper: Packaging (Android (ASTC)): import edu.cmu.pocketsphinx.SpeechRecognizerSetup.defaultSetup; UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): symbol: class defaultSetup UATHelper: Packaging (Android (ASTC)): location: class SpeechRecognizerSetup UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\com\sphinxue4\SpeechRecognitionWorker.java:5: error: package edu.cmu.pocketsphinx.Decoder does not exist UATHelper: Packaging (Android (ASTC)): import 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.Decoder does not exist UATHelper: Packaging (Android (ASTC)): import edu.cmu.pocketsphinx.Decoder.fileConfig; UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\edu\cmu\pocketsphinx\RecognitionListener.java:33: error: cannot find symbol UATHelper: Packaging (Android (ASTC)): import edu.cmu.pocketsphinx.Hypothesis; UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): symbol: class Hypothesis UATHelper: Packaging (Android (ASTC)): location: package edu.cmu.pocketsphinx 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: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)): Z:\app\src\main\java\edu\cmu\pocketsphinx\SpeechRecognizerSetup.java:49: error: cannot find symbol UATHelper: Packaging (Android (ASTC)): private final Config config; UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): symbol: class Config UATHelper: Packaging (Android (ASTC)): location: class SpeechRecognizerSetup UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\edu\cmu\pocketsphinx\SpeechRecognizerSetup.java:69: error: cannot find symbol UATHelper: Packaging (Android (ASTC)): private SpeechRecognizerSetup(Config config) { UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): symbol: class Config UATHelper: Packaging (Android (ASTC)): location: class SpeechRecognizerSetup UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\edu\cmu\pocketsphinx\RecognitionListener.java:51: 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: interface RecognitionListener UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\edu\cmu\pocketsphinx\RecognitionListener.java:56: error: cannot find symbol UATHelper: Packaging (Android (ASTC)): public void onResult(Hypothesis hypothesis); UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): symbol: class Hypothesis UATHelper: Packaging (Android (ASTC)): location: interface RecognitionListener UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\edu\cmu\pocketsphinx\SpeechRecognizer.java:58: error: cannot find symbol UATHelper: Packaging (Android (ASTC)): private final Decoder decoder; UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): symbol: class Decoder UATHelper: Packaging (Android (ASTC)): location: class SpeechRecognizer UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\edu\cmu\pocketsphinx\SpeechRecognizer.java:78: error: cannot find symbol UATHelper: Packaging (Android (ASTC)): protected SpeechRecognizer(Config config) throws IOException { UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): symbol: class Config UATHelper: Packaging (Android (ASTC)): location: class SpeechRecognizer UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\edu\cmu\pocketsphinx\SpeechRecognizer.java:200: error: cannot find symbol UATHelper: Packaging (Android (ASTC)): public Decoder getDecoder() { UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): symbol: class Decoder UATHelper: Packaging (Android (ASTC)): location: class SpeechRecognizer UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\edu\cmu\pocketsphinx\SpeechRecognizer.java:220: error: cannot find symbol UATHelper: Packaging (Android (ASTC)): public void addFsgSearch(String searchName, FsgModel fsgModel) { UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): symbol: class FsgModel UATHelper: Packaging (Android (ASTC)): location: class SpeechRecognizer UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\edu\cmu\pocketsphinx\SpeechRecognizer.java:414: error: cannot find symbol UATHelper: Packaging (Android (ASTC)): protected final Hypothesis hypothesis; UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): symbol: class Hypothesis UATHelper: Packaging (Android (ASTC)): location: class SpeechRecognizer.ResultEvent UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\edu\cmu\pocketsphinx\SpeechRecognizer.java:417: error: cannot find symbol UATHelper: Packaging (Android (ASTC)): ResultEvent(Hypothesis hypothesis, boolean finalResult) { UATHelper: Packaging (Android (ASTC)): ^ UATHelper: Packaging (Android (ASTC)): symbol: class Hypothesis UATHelper: Packaging (Android (ASTC)): location: class SpeechRecognizer.ResultEvent UATHelper: Packaging (Android (ASTC)): 19 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)): 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)): 32 actionable tasks: 1 executed, 31 up-to-date UATHelper: Packaging (Android (ASTC)): * Get more help at https://help.gradle.org UATHelper: Packaging (Android (ASTC)): BUILD FAILED in 9s 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