fix: whatever happens with android native libraries since flutter 3.16

This commit is contained in:
lauren n. liberda 2023-11-18 22:08:13 +01:00
parent f4d3e6f928
commit 56426eb4f0
No known key found for this signature in database
GPG key ID: 734C629FD04BD319

View file

@ -72,6 +72,13 @@ android {
signingConfig signingConfigs.release
}
}
// https://stackoverflow.com/a/77494454/8222484
packagingOptions {
pickFirst 'lib/x86/libc++_shared.so'
pickFirst 'lib/x86_64/libc++_shared.so'
pickFirst 'lib/armeabi-v7a/libc++_shared.so'
pickFirst 'lib/arm64-v8a/libc++_shared.so'
}
}
flutter {