Skip to content

Commit

Permalink
[Student][R-6.8.0] Set up NDK filters to only support armabi-v7a, arm…
Browse files Browse the repository at this point in the history
…64-v8a, and x86_64 (#854)
  • Loading branch information
JordanMarshall authored Jun 15, 2020
1 parent 920ecd7 commit fd5f544
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion apps/student/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ android {
applicationId "com.instructure.candroid"
minSdkVersion Versions.MIN_SDK
targetSdkVersion Versions.TARGET_SDK
versionCode = 212
versionCode = 213
versionName = '6.8.0'

vectorDrawables.useSupportLibrary = true
Expand Down Expand Up @@ -116,6 +116,11 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
ext.enableCrashlytics = false
pseudoLocalesEnabled true

ndk {
// Filter for architectures supported by Flutter. Include x86 in debug builds so we don't crash on FTL.
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86_64', 'x86'
}
}

release {
Expand All @@ -125,6 +130,11 @@ android {
shrinkResources true
buildConfigField 'boolean', 'IS_DEBUG', 'false'
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'

ndk {
// Filter for architectures supported by Flutter. Exclude x86 in release builds to avoid missing lib crash on x86 devices.
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86_64'
}
}
}

Expand Down

0 comments on commit fd5f544

Please sign in to comment.