To integrate Vosk properly with the new Gradle build system, I had to switch from ndk-build to CMake and add a custom task in app/build.gradle that extracts libvosk.so from the Vosk AAR and fetches vosk_api.h into the include directories ^_^
Spent a bit of time getting this to work and the app now compiles properly, linking against Vosk, with the new Gradle + CMake build system!!! 
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.