Giter Site home page Giter Site logo

error loading recogniser about localstt HOT 11 OPEN

ccoreilly avatar ccoreilly commented on May 22, 2024
error loading recogniser

from localstt.

Comments (11)

ccoreilly avatar ccoreilly commented on May 22, 2024 2

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.

from localstt.

ccoreilly avatar ccoreilly commented on May 22, 2024 2

I'll check the logs but I guess Swiftkey is sending some other intent

from localstt.

backupandforkacc avatar backupandforkacc commented on May 22, 2024 1

I built my own apk, but I am still getting the error. I am grateful for any comments.

from localstt.

backupandforkacc avatar backupandforkacc commented on May 22, 2024

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

from localstt.

backupandforkacc avatar backupandforkacc commented on May 22, 2024

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.

from localstt.

stefangrotz avatar stefangrotz commented on May 22, 2024

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?

from localstt.

ccoreilly avatar ccoreilly commented on May 22, 2024

PR #7 should fix this, can you test it? It'd merge it if you can confirm!

from localstt.

stefangrotz avatar stefangrotz commented on May 22, 2024

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.

from localstt.

ccoreilly avatar ccoreilly commented on May 22, 2024

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?

from localstt.

stefangrotz avatar stefangrotz commented on May 22, 2024

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?

from localstt.

stefangrotz avatar stefangrotz commented on May 22, 2024

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,

from localstt.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.