AndroidSerialPort
AndroidSerialPort copied to clipboard
Could not resolve com.github.kongqw:AndroidSerialPort:1.0.1.
Could not resolve com.github.kongqw:AndroidSerialPort:1.0.1.
https://github.com/cl-6666/serialPort,用这个地址吧!好像换人维护了!可以吧他项目拉下来作为工程依赖。这样改动最小
implementation 'com.github.isilent-me:AndroidSerialPort:1.0.2' You can use this to instead. It fix build failure on JitPack.
implementation 'com.github.isilent-me:AndroidSerialPort:1.0.3' You also can use this. It merged some freature from other developers.
Such as:
- Adapt to androidx.
- Add support for SerialPort flags.
- Add sleep time when receive data.
implementation 'com.github.isilent-me:AndroidSerialPort:1.0.2' 你可以用这个来代替。它修复了在JitPack上构建失败的问题。
implementation 'com.github.isilent-me:AndroidSerialPort:1.0.3' 你也可以用这个。它合并了其他开发人员的一些新特性。
例如:
- 适配AndroidX
- 打开串口时支持flags
- 增加接收数据睡眠时间