首页 > IT职业 > IT职场 > Flutter module模式问题整理
2018-12-14 14:11:51.865 13328-13328/包名 E/flutter:[ERROR:flutter/runtime/dart_vm.cc(259)] VM snapshot must be valid. 2018-12-14 14:11:51.865 13328-13328/包名 A/flutter:[FATAL:flutter/shell/common/shell.cc(212)] Check failed: vm. Must be able to initialize the VM. 2018-12-14 14:11:51.866 13328-13328/包名 A/libc: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 13328 (包名), pid 13328 (包名)
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/包名-ByONc3XVTut87IekSqMjdg==/base.apk"],nativeLibraryDirectories= [/data/app/包名-ByONc3XVTut87IekSqMjdg==/lib/arm64, /data/app包名- ByONc3XVTut87IekSqMjdg==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]] couldn't find "libflutter.so"
android {
...
defaultConfig {
...
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
}
Process 'command 路径/flutter/bin/flutter'' finished with non-zero exit value 1
作者:楊帥
链接:https://www.jianshu.com/p/f2f9fd01b56c
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/3486/viewspace-2821634/ ,如需转载,请注明出处,否则将追究法律责任。