|
发表于 2020-10-3 15:26:04
15989 浏览 0 回复
Android Studio 串口例程 serialtest_4412 一点运行就出错
同步过程未出现错误
点运行程序闪退
提示如下
D/AndroidRuntime: Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.topeet.serialtest, PID: 9893
java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.topeet.serialtest-7fHnsGBTpigJm9qlX5MRhA==/lib/x86/libserialtest.so" is for EM_ARM (40) instead of EM_386 (3)
at java.lang.Runtime.loadLibrary0(Runtime.java:1071)
at java.lang.Runtime.loadLibrary0(Runtime.java:1007)
at java.lang.System.loadLibrary(System.java:1667)
at com.topeet.serialtest.MainActivity.<clinit>(MainActivity.java:101)
at java.lang.Class.newInstance(Native Method)
at android.app.AppComponentFactory.instantiateActivity(AppComponentFactory.java:95)
at android.app.Instrumentation.newActivity(Instrumentation.java:1243)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3182)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3409)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
|
|
|
|
|
|
|
登录或注册
扫一扫关注迅为公众号
![群号652692981](template/rabbit_office/image/wchat.png)
![](static/image/common/security.png)
|