hi
The latest version of talkback was updated about 2 months ago Version TfPu_release_15_1-2024_10_17_0000 (370044211)
The previous version starts and works ok, is there a bug in the compilation process or in the incorrect code, the only error message I get is an error about the service crashing, I am using lineageOS21, android14, fxtec pro1 as my phone
adb logcat of the actual crash?
If I understand the log correctly, espeak is the root cause of the problem, is the problem in espeak and not in talkback itself, do I have to download the voices separately to espeak, could the problem be due to espeak not finding the speech voices, is it espeak downloaded from f-droid?
12-26 02:14:03.811 1218 1218 D BatterySaverPolicy: accessibility changed to true, updating policy.
12-26 02:14:03.830 1218 1234 D TextToSpeechManagerPerUserService: Trying to start connection to TTS engine: com.reecedunn.espeak
12-26 02:14:03.830 4068 4068 I TextToSpeech: Sucessfully bound to com.reecedunn.espeak
12-26 02:14:03.833 3984 3984 V eSpeakService: Java_com_reecedunn_espeak_SpeechSynthesis_nativeCreate [env=0x73eb3e4770, object=0x7ff9ce7f88]
12-26 02:14:03.833 3984 3984 V eSpeakService: Initializing with path /data/user_de/0/com.reecedunn.espeak/app_voices
12-26 02:14:03.834 3984 3984 I SpeechSynthesis: Initialized synthesis library with sample rate = 22050
12-26 02:14:03.834 3984 3984 V eSpeakService: Java_com_reecedunn_espeak_SpeechSynthesis_nativeGetAvailableVoices
12-26 02:14:03.841 3984 3984 D SpeechSynthesis: getAvailableResources: skipping ca-nw => Couldnāt find 3-letter country code for NW
12-26 02:14:03.841 3984 3984 D SpeechSynthesis: getAvailableResources: skipping chr-US-Qaaa-x-west => Locale not supported.
12-26 02:14:03.841 3984 3984 D SpeechSynthesis: getAvailableResources: skipping cmn-latn-pinyin => Couldnāt find 3-letter country code for LATN
12-26 02:14:03.841 3984 3984 D SpeechSynthesis: getAvailableResources: skipping en-shaw => Couldnāt find 3-letter country code for SHAW
12-26 02:14:03.841 3984 3984 D SpeechSynthesis: getAvailableResources: skipping fa-latn => Couldnāt find 3-letter country code for LATN
12-26 02:14:03.842 3984 3984 D SpeechSynthesis: getAvailableResources: skipping piqd => Couldnāt find 3-letter language code for piqd
12-26 02:14:03.842 3984 3984 D SpeechSynthesis: getAvailableResources: skipping py => Couldnāt find 3-letter language code for py
12-26 02:14:03.846 1218 1218 D TextToSpeechManagerPerUserService: Connected successfully to TTS engine: com.reecedunn.espeak
12-26 02:14:03.847 4068 4083 I TextToSpeech: Connected to TTS engine
12-26 02:14:03.851 4068 4087 I TextToSpeech: Setting up the connection to TTS engineā¦
12-26 02:14:04.022 4068 4068 I LibLouisWrapper_Native: Setting tables path to: /data/user_de/0/com.android.talkback/app_translator
12-26 02:14:04.162 4068 4068 I LibLouisWrapper_Native: Setting tables path to: /data/user_de/0/com.android.talkback/app_translator
12-26 02:14:04.172 4068 4068 D AndroidRuntime: Shutting down VM
12-26 02:14:04.173 4068 4068 E AndroidRuntime: FATAL EXCEPTION: main
12-26 02:14:04.173 4068 4068 E AndroidRuntime: Process: com.android.talkback, PID: 4068
12-26 02:14:04.173 4068 4068 E AndroidRuntime: java.lang.NoSuchMethodError: No static method toUnmodifiableSet()Ljava/util/stream/Collector; in class Ljava/util/stream/Collectors; or its super classes (declaration of ājava.util.stream.Collectorsā appears in /apex/com.android.art/javalib/core-oj.jar)
12-26 02:14:04.173 4068 4068 E AndroidRuntime: at com.google.android.accessibility.talkback.braille.TalkBackForBrailleImeImpl.(TalkBackForBrailleImeImpl.java:73)
12-26 02:14:04.173 4068 4068 E AndroidRuntime: at com.google.android.accessibility.talkback.TalkBackService.initializeInfrastructure(TalkBackService.java:2004)
12-26 02:14:04.173 4068 4068 E AndroidRuntime: at com.google.android.accessibility.talkback.TalkBackService.onServiceConnected(TalkBackService.java:1344)
12-26 02:14:04.173 4068 4068 E AndroidRuntime: at android.accessibilityservice.AccessibilityService.dispatchServiceConnected(AccessibilityService.java:768)
12-26 02:14:04.173 4068 4068 E AndroidRuntime: at android.accessibilityservice.AccessibilityService.access$200(AccessibilityService.java:240)
12-26 02:14:04.173 4068 4068 E AndroidRuntime: at android.accessibilityservice.AccessibilityService$2.onServiceConnected(AccessibilityService.java:2171)
12-26 02:14:04.173 4068 4068 E AndroidRuntime: at android.accessibilityservice.AccessibilityService$IAccessibilityServiceClientWrapper.executeMessage(AccessibilityService.java:2417)
12-26 02:14:04.173 4068 4068 E AndroidRuntime: at com.android.internal.os.HandlerCaller$MyHandler.handleMessage(HandlerCaller.java:44)
12-26 02:14:04.173 4068 4068 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
12-26 02:14:04.173 4068 4068 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201)
12-26 02:14:04.173 4068 4068 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288)
12-26 02:14:04.173 4068 4068 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7870)
12-26 02:14:04.173 4068 4068 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
12-26 02:14:04.173 4068 4068 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
12-26 02:14:04.173 4068 4068 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
12-26 02:14:04.176 1218 4099 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2
12-26 02:14:04.176 4068 4068 I Process : Sending signal. PID: 4068 SIG: 9
12-26 02:14:04.185 1218 3316 D TextToSpeechManagerPerUserService: Unbinding TTS engine: com.reecedunn.espeak. Reason: client process death is reported
12-26 02:14:04.185 1218 1234 I ActivityManager: Process com.android.talkback (pid 4068) has died: vis BFGS
12-26 02:14:04.185 1218 1315 I libprocessgroup: Successfully killed process cgroup uid 10127 pid 4068 in 0ms
12-26 02:14:04.186 714 714 I Zygote : Process 4068 exited due to signal 9 (Killed)
12-26 02:14:04.186 1218 1234 W ActivityManager: Scheduling restart of crashed service com.android.talkback/com.google.android.marvin.talkback.TalkBackService in 1800000ms for connection
12-26 02:14:04.188 1218 1218 W TextToSpeechManagerPerUserService: Disconnected from TTS engine
12-26 02:14:04.188 1218 1218 I TextToSpeechManagerPerUserService: Failed running callback method: android.os.DeadObjectException
12-26 02:14:04.188 1218 1218 W ServiceConnector.Impl: mayInterruptIfRunning not supported - ignoring
try with SherpaTTS | F-Droid - Free and Open Source Android App Repository instead of eSpeak
Other TTSs do the same, i.e. talkback crashes, could you tell me based on that log what the problem is, is there a bug in some lineageos java library, so the more correct channel would be lineageos bug reporting. The older version of Talkback starts and works fine
It does not crash for me on AOSP based Android 14
Try to ask your ROM provider maybe