v1.51 - JNI Crash Fix
Changes in v1.51
🐛 Bug Fixes
- JNI Crash Fix: Refactored all JNI callback classes to module level with comprehensive exception handling to prevent native crashes on Android
- All Python-Java bridge callbacks now wrapped in try-except blocks to catch and log exceptions instead of crashing
Technical Details
- Moved
RecognitionListener,TTSListener,SpeechRunnable,CleanupRunnable,TTSInitRunnable, andTTSSpeakRunnablefrom dynamic method-level definitions to module-level classes - Added
traceback.print_exc()to all JNI callback methods for better debugging in logcat - This should resolve the systematic/random crashes reported in version 1.50
Restore Point: If this version has issues, you can revert to v1.50 which is the stable release before this fix.
Για να επιστρέψετε στην έκδοση 1.50:
git revert HEAD