alphacep / vosk-android-service

Offline voice typing for Android
Apache License 2.0
55 stars 10 forks source link

installation fails on Android 12: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED #12

Open ildar opened 1 year ago

ildar commented 1 year ago

$ adb install -r vosk-android-service-0.3.42.apk Performing Streamed Install adb: failed to install vosk-android-service-0.3.42.apk: Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl910797472.tmp/base.apk (at Binary XML file line #106): org.vosk.service.VoskRecognitionService: Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present]

ildar commented 1 year ago

still there

Wave6677 commented 1 year ago

I hope this gets fixed sometime soon. Just using VOSK in Dicio it seems like a really great model. I'd love to use it in day to day tasks.

Doomsdayrs commented 1 year ago

Can be closed. I fixed this.

ildar commented 1 year ago

Great! waiting for the new release apk

nuke-web3 commented 1 year ago

Eager to get this new release :eyes: I bet others are too: https://www.reddit.com/r/GrapheneOS/comments/gkzvxn/comment/ir7tkm2/?utm_source=reddit&utm_medium=web2x&context=3

Doomsdayrs commented 1 year ago

The problem is getting in touch with developers to fix up the issues with the application. As I currently have no way to contact them.

Doomsdayrs commented 1 year ago

This can be closed now

ildar commented 1 year ago

Not until the release.

grigio commented 1 year ago

I got the same error on Pixel 4a, I tried to compile from source via Android Studio and it runs

sogaiu commented 1 year ago

I built from https://github.com/alphacep/vosk-android-service/commit/6a719773c100a87ef8d96782326a98f29d714b8c using Android Studio, then installed one of the resulting .apk files via adb (like in the OP) successfully to a tablet running Android 12L [1].

I used the app to install some models and then invoked via AnySoftKeyboard's voice typing(?) key/button. A dialog box does show up as a voice prompt(?), but after speaking, I see the message Error loading recognizer.


[1] I think it's 12L, but I'm not sure how to tell for sure -- I'm using some 12L features, but the info I see via Settings -> About tablet -> Software information -> Android version is 12.

SunnyDaze commented 1 year ago

Just failed on Android 13. A new release would be great.

grigio commented 1 year ago

@SunnyDaze I've made an unofficial apk if you are interested, it works very well. tested on Android 13 https://github.com/alphacep/vosk-android-service/issues/10#issuecomment-1582855338