-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Support for android 4.4.4 (kitkat) #832
Comments
There should be no problem to lower the requirements, I don't remember what was the issue. Probably a gradle plugin version or something minor. Or maybe ndk didn't support some function. You can try to lower the requirement and build the plugin, hopefully it will work, otherwise we can fix it. |
Hello! I tried this on my kitkat device and I got the following error:
can you help me? EDIT: i found this, it might help: android/ndk#844 |
Hm, yeah, following https://stackoverflow.com/questions/27091001/how-to-use-mkfifo-using-androids-ndk/27093163#27093163 seems like there are troubles. One has to compile a separate version. I might look on this some time later, not sure about deadline though. |
Okay, let me know if there is anything i could help! |
Any updates on this? @nshmyrev |
It is not going to be fast, maybe couple months ;) |
Hello, I am also interested in this. Hopefully it can be built also on at least MinSDK 18 |
@leonilocarandang I hope that too! |
Did anyone get it working? |
You can remove that signal stuff from sources probably. We can compile for older android, it just takes effort on our side. |
Well, i will give that a try, I just did't want to start ripping stuff out until it "works". I don't know how much I will have to remove for that. |
@nshmyrev , Is the way to build for older android the one described in this section "Compilation from source" in this link https://alphacephei.com/vosk/install ? I would like to try it although I am new to building libraries such as SO |
@leonilocarandang I suggest you to go ahead and try! If you have any questions just ask. |
You need Linux, it is not going to work on Windows. |
@nshmyrev , yes I realized that. I installed Git Bash and was able to run the bash file inside lib folder. But it did not create .so files. I do not know how to attach file here but here are some of the errors
Does these errors mean, I need to run this in Linux env? Or I just need to install something in Windows env? |
You need Linux |
So, i tried using different NDKs to try to compile it for API Level 19 and lower. It still is showing me the "symbol 'signal' not found" error. So i guess, it's somehow still not really the correct API-Level. EDIT: I was using the build-vosk.sh file to generate the .so |
You need to edit source code to bypass that part that uses signal method |
I was able to install the demo on JellyBean 4.0 & 4.3. VoskActivity shows up without error but once it finished transferring the language Model files to Android/data, it throws the attached errors: |
I also encountered this problem. But I don't know how to solve it. I can't find where I used it. |
@nshmyrev Hello,is this issue fixed in version 0.3.50? Thanks |
Hey guys! i was wondering if this library would still work on sdk levels below 21 (like 19).
EDIT: also if you know other libraries that have support for android kitkat and are open source let me know!
Thanks :)
The text was updated successfully, but these errors were encountered: