Skip to content

Commit 1694323

Browse files
committed
Disable NEON instructions with armv7a, to support older devices
See #476
1 parent 606b725 commit 1694323

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

app/build.gradle

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
ndkVersion "26.1.10909125"
4+
ndkVersion "23.2.8568313"
55

66
defaultConfig {
77
applicationId "com.emanuelef.remote_capture"
@@ -16,6 +16,13 @@ android {
1616
resourceConfigurations += ["en", "ar", "de", "es", "in", "it", "ru", "tr", "uk", "zh-rCN"]
1717

1818
buildConfigField "long", "BUILD_TIME", System.currentTimeMillis() + "L"
19+
20+
externalNativeBuild {
21+
cmake {
22+
// Disable NEON instructions with armv7a, to support older devices
23+
arguments "-DANDROID_ARM_NEON=OFF"
24+
}
25+
}
1926
}
2027

2128
buildTypes {

0 commit comments

Comments
 (0)