Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vosk in unity android #1630

Open
b00lliie opened this issue Sep 16, 2024 · 0 comments
Open

Vosk in unity android #1630

b00lliie opened this issue Sep 16, 2024 · 0 comments

Comments

@b00lliie
Copy link

Hello! I want to use vosk for my school project (android application). I always get this error even though I already added the libvosk.so files (this is where I got them: https://github.com/alphacep/vosk-api/releases).
this is where I placed them: BB\Assets\Plugins\Android

Also when I build it and inspect the apk I can see the libvosk.so files in there.

Error message:
DllNotFoundException: libvosk assembly: type: member:(null)
Vosk.Model..ctor (System.String model_path) (at Assets/Plugins/Vosk/Model.cs:32)
VoskSpeechRecognizer+d__5.MoveNext () (at Assets/_app/Scripts/VoskSpeechRecognizer.cs:46)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :0)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
VoskSpeechRecognizer:Start() (at Assets/_app/Scripts/VoskSpeechRecognizer.cs:27)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant