From 976ce6aeba2ccea8044fc133c01927cb60092901 Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Sat, 18 May 2019 12:27:35 +0200 Subject: [PATCH] Android: Try to fix missing "libflutter.so" crash The apparent fix seems to be to only ship an arm 32bit app, and not arm arm64. --- android/app/build.gradle | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 84e0ae74..4d9b3bd2 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -50,9 +50,6 @@ android { cppFlags "" } } - ndk { - abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a' - } sourceSets { main { jniLibs.srcDirs = ['libs'] @@ -72,6 +69,14 @@ android { buildTypes { release { signingConfig signingConfigs.release + ndk { + abiFilters 'armeabi-v7a' + } + } + debug { + ndk { + abiFilters 'armeabi-v7a', 'x86', 'x86_64' + } } }