Flutter : couldn't find "libflutter.so"
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.personaldata-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.personaldata-2/lib/arm64, /data/app/com.example.personaldata-2/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64, /system/vendor/lib64, /product/lib64]]] couldn't find "libflutter.so"
App crashed while launching application in release build, this happens after updated my flutter to 1.0 and dart to 2.0 version.
To fix this created build with below comments to support 64 bit devices. not sure is it will support 32 but mobioles or not. Expecting fix from flutter soon.
flutter build apk --release --target-platform=android-arm64
else
set below values in build.gradle file and create release build in normal way.
App crashed while launching application in release build, this happens after updated my flutter to 1.0 and dart to 2.0 version.
To fix this created build with below comments to support 64 bit devices. not sure is it will support 32 but mobioles or not. Expecting fix from flutter soon.
flutter build apk --release --target-platform=android-arm64
else
set below values in build.gradle file and create release build in normal way.
defaultConfig {
ndk {
//abiFilters "armeabi", "x86", "armeabi-v7a"
abiFilters "armeabi-v7a"
}
}
Comments
Post a Comment