error loading recogniser
backupandforkacc opened this issue · comments
I can install the release localstt (2020-12-03).
But when starting it, I get the error stated above. The log I posted here.
Here is the filtered content (only Local TTS) from a new test.
My device: Pixel 2 with LineageOS for microG.
Android 11 (18.1-202111208-microG-walleye).
Is there any solution there? Or can someone give me a hint on how to build my own apk?
I built my own apk, but I am still getting the error. I am grateful for any comments.
It probably has to to with some behavioural changes, but I think this should not apply to the services, but only apps using the service:
https://developer.android.com/about/versions/11/behavior-changes-11#speech-recognition
I also tested it with android 8 and get the same error:
https://bardhome.de/index.php/s/qK8nAsgr4jfwcBT
I do not have Android 9 available unfortunately to test it.
Hi @backupandforkacc !
I don't have a device with Android 11 but the issue is most probably related to this issue in K6nele. You can see in your logs:
2021-12-16 11:26:31.641 2019-2019/cat.oreilly.localstt E/RecognitionService: call for recognition service without RECORD_AUDIO permissions
I don't have much time to check how to fix it other than going the extreme way k6nele followed of extracting the recognitionservice from the app into a different app.
As for you Android 9 logs, I don't see any mention of LocalSTT there.
Same problem here on Android 9 with a self build app. Solving this issue would really make this app a lot more useful and I would like to help. What is the best way to analyze this problem?
PR #7 should fix this, can you test it? It'd merge it if you can confirm!
The app I was using was a fork of the american repo from the PR (https://github.com/nordfalk/EsperantoParolRekono). So to me it looks like it doesn't work. But the fix is for Android 11 and I am using Android 9.
I am also on Android 9 and just downloaded the esperanto APK, which ran without issues. A full log ( adb logcat
) from right before starting the application would help.
What Android flavour are you using? Do you use GSF or microg or none?
I am using GSF, a simple not jailbroken sony stock android with MS SwiftKey. It first worked for me, and after I tried again a few minutes later it suddenly stopped working. I will create a log in a few hours, but I don't have access to Android Studio right now.
EDIT: just tried again. It worked one time and on the second try I had the error again. Maybe some problem when the app is restarted?
Here are my logs when I accessed it from SwiftKey and it failed:
logs.txt
EDIT: I tried a few things and it turned out that it works perfectly fine using Kõnele on my system, so I can go with that for now,
I'll check the logs but I guess Swiftkey is sending some other intent