Will Blaschko
Will Blaschko
Crash below, it looks like it's failing to properly grab the external files dir. ``` Non-fatal Exception: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0 at android.app.ContextImpl.getExternalFilesDir(ContextImpl.java:468) at android.content.ContextWrapper.getExternalFilesDir(ContextWrapper.java:219) at edu.cmu.pocketsphinx.Assets.(Assets.java:95) at com.willblaschko.android.alexalistens.MainActivity$SettingsFragment$6.doInBackground(MainActivity.java:253) at com.willblaschko.android.alexalistens.MainActivity$SettingsFragment$6.doInBackground(MainActivity.java:245)...
Library is crashing when initializing the SpeechRecognizer with the following call: ``` recognizer = defaultSetup() .setAcousticModel(new File(assetsDir, "en-us-ptm")) .setDictionary(new File(assetsDir, "cmudict-en-us.dict")) // Use context-independent phonetic search, context-dependent is too slow...
Logcat attached - start around line 3000 (and 5840), package is: com.willblaschko.android.alexalistens. I don't seem to have a problem on many other devices, just the ones Google is testing with....
I've added some quick functionality into the base project that allows the Android version of the game to trigger String typed events that the Android app listens to and then...
### Preflight Checklist - [x] I have searched [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Amodel) for similar behavior reports - [x] This report does NOT contain sensitive information (API keys, passwords, etc.) ### Type of...