Skip to content

Commit

Permalink
Disable NEON instructions with armv7a, to support older devices
Browse files Browse the repository at this point in the history
See #476
  • Loading branch information
emanuele-f committed Jan 18, 2025
1 parent 606b725 commit 1694323
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.android.application'

android {
ndkVersion "26.1.10909125"
ndkVersion "23.2.8568313"

defaultConfig {
applicationId "com.emanuelef.remote_capture"
Expand All @@ -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 {
Expand Down

0 comments on commit 1694323

Please sign in to comment.