crashfix: artifact contained x86 native libs, preventing arm emulation, looking for non-existent x86 libflutter.so
This commit is contained in:
parent
3980e42234
commit
9c16300d49
1 changed files with 7 additions and 0 deletions
|
@ -78,6 +78,13 @@ android {
|
||||||
applicationIdSuffix ".profile"
|
applicationIdSuffix ".profile"
|
||||||
}
|
}
|
||||||
release {
|
release {
|
||||||
|
// specify architectures, to specifically exclude native libs for x86,
|
||||||
|
// which lead to: UnsatisfiedLinkError...couldn't find "libflutter.so"
|
||||||
|
// cf https://github.com/flutter/flutter/issues/37566#issuecomment-640879500
|
||||||
|
ndk {
|
||||||
|
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86_64'
|
||||||
|
}
|
||||||
|
|
||||||
signingConfig signingConfigs.release
|
signingConfig signingConfigs.release
|
||||||
|
|
||||||
minifyEnabled true
|
minifyEnabled true
|
||||||
|
|
Loading…
Reference in a new issue