jp1017 / androidserialport Goto Github PK
View Code? Open in Web Editor NEW安卓串口打开、接收与发送
安卓串口打开、接收与发送
build的时候报错,找不到so文件
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/android.serialport-1/base.apk"],nativeLibraryDirectories=[/data/app/android.serialport-1/lib/arm64, /system/lib64, /vendor/lib64]]] couldn't find "libserial_port.so"
05-29 00:59:45.879 13200-13200/android.serialport W/System.err: java.lang.SecurityException
05-29 00:59:45.880 13200-13200/android.serialport W/System.err: at android.serialport.SerialPort.(SerialPort.java:59)
05-29 00:59:45.881 13200-13200/android.serialport W/System.err: at android.serialport.MyserialActivity$1.onClick(MyserialActivity.java:34)
05-29 00:59:45.882 13200-13200/android.serialport W/System.err: at android.view.View.performClick(View.java:4444)
05-29 00:59:45.882 13200-13200/android.serialport W/System.err: at android.view.View$PerformClick.run(View.java:18440)
05-29 00:59:45.883 13200-13200/android.serialport W/System.err: at android.os.Handler.handleCallback(Handler.java:733)
05-29 00:59:45.883 13200-13200/android.serialport W/System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
05-29 00:59:45.884 13200-13200/android.serialport W/System.err: at android.os.Looper.loop(Looper.java:136)
05-29 00:59:45.884 13200-13200/android.serialport W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5016)
05-29 00:59:45.885 13200-13200/android.serialport W/System.err: at java.lang.reflect.Method.invokeNative(Native Method)
05-29 00:59:45.886 13200-13200/android.serialport W/System.err: at java.lang.reflect.Method.invoke(Method.java:515)
05-29 00:59:45.886 13200-13200/android.serialport W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
05-29 00:59:45.887 13200-13200/android.serialport W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:611)
05-29 00:59:45.887 13200-13200/android.serialport W/System.err: at dalvik.system.NativeStart.main(Native Method)
05-29 00:59:45.888 13200-13200/android.serialport D/AndroidRuntime: Shutting down VM
点击打开串口,程序崩溃,查看日志,是权限不够,看一下吧,谢谢
能封装一个串口通讯框架出来吗
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.