Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

打开闪退,couldn't find "libflutter.so" #78

Closed
MX8CLUB opened this issue Feb 18, 2021 · 3 comments
Closed

打开闪退,couldn't find "libflutter.so" #78

MX8CLUB opened this issue Feb 18, 2021 · 3 comments

Comments

@MX8CLUB
Copy link

MX8CLUB commented Feb 18, 2021

/AndroidRuntime(24584): Caused by: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/android.test.runner.jar", zip file "/data/app/com.XXXXX-1/base.apk"],nativeLibraryDirectories=[/data/app/com.XXXXX-1/lib/arm, /data/app/com.XXXXX-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]] couldn't find "libflutter.so"
E/AndroidRuntime(24584): 	at java.lang.Runtime.loadLibrary0(Runtime.java:984)
E/AndroidRuntime(24584): 	at java.lang.System.loadLibrary(System.java:1562)
E/AndroidRuntime(24584): 	at io.flutter.embedding.engine.loader.FlutterLoader$1.call(FlutterLoader.java:129)
E/AndroidRuntime(24584): 	at io.flutter.embedding.engine.loader.FlutterLoader$1.call(FlutterLoader.java:123)

去掉依赖就正常,模拟器运行

@XingXiaoWu
Copy link
Collaborator

@karedem

@karedem
Copy link
Member

karedem commented Feb 24, 2021

模拟器一般需要支持x86架构的so , flutter编译时默认不带x86
不属于插件问题 需要支持模拟器请自行在项目配置

@karedem karedem closed this as completed Feb 24, 2021
@karedem
Copy link
Member

karedem commented Feb 24, 2021

这是运行example在android模拟器上 并没有报错
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants