alphacep / alphacep/vosk-api

Vosk in unity android

Open
#1,630 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
15.1k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

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)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.