Closed MX8CLUB closed 3 years ago
/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)
去掉依赖就正常,模拟器运行
@karedem
模拟器一般需要支持x86架构的so , flutter编译时默认不带x86 不属于插件问题 需要支持模拟器请自行在项目配置
这是运行example在android模拟器上 并没有报错
去掉依赖就正常,模拟器运行