Disable NEON instructions with armv7a, to support older devices

See #476
This commit is contained in:
emanuele-f
2025-01-18 16:34:43 +01:00
parent 606b7252b0
commit 1694323ae7
+8 -1
View File
@@ -1,7 +1,7 @@
apply plugin: 'com.android.application'
android {
ndkVersion "26.1.10909125"
ndkVersion "23.2.8568313"
defaultConfig {
applicationId "com.emanuelef.remote_capture"
@@ -16,6 +16,13 @@ android {
resourceConfigurations += ["en", "ar", "de", "es", "in", "it", "ru", "tr", "uk", "zh-rCN"]
buildConfigField "long", "BUILD_TIME", System.currentTimeMillis() + "L"
externalNativeBuild {
cmake {
// Disable NEON instructions with armv7a, to support older devices
arguments "-DANDROID_ARM_NEON=OFF"
}
}
}
buildTypes {