diff options
Diffstat (limited to 'app/build.gradle')
| -rw-r--r-- | app/build.gradle | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/app/build.gradle b/app/build.gradle index 4c3f133..bc9ec9b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -14,8 +14,8 @@ android { versionName '1.0' externalNativeBuild { - ndkBuild { - arguments '-j' + Runtime.runtime.availableProcessors() + cmake { + cppFlags '' abiFilters 'arm64-v8a' } } @@ -28,9 +28,13 @@ android { } } + buildFeatures { + prefab true + } + externalNativeBuild { - ndkBuild { - path 'src/main/jni/Android.mk' + cmake { + path 'src/main/jni/CMakeLists.txt' } } @@ -42,5 +46,5 @@ android { } dependencies { - + implementation 'com.alphacephei:vosk-android:0.3.75' } |
