kongqw / AndroidSerialPort

Android串口通信示例
718 stars 214 forks source link

Could not resolve com.github.kongqw:AndroidSerialPort:1.0.1. #36

Open Qcaoqp opened 3 years ago

Qcaoqp commented 3 years ago

Could not resolve com.github.kongqw:AndroidSerialPort:1.0.1.

sasa2211 commented 3 years ago

https://github.com/cl-6666/serialPort,用这个地址吧!好像换人维护了!可以吧他项目拉下来作为工程依赖。这样改动最小

isilent-me commented 2 years ago

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:

  1. Adapt to androidx.
  2. Add support for SerialPort flags.
  3. Add sleep time when receive data.
isilent-me commented 2 years ago

implementation 'com.github.isilent-me:AndroidSerialPort:1.0.2' 你可以用这个来代替。它修复了在JitPack上构建失败的问题。

implementation 'com.github.isilent-me:AndroidSerialPort:1.0.3' 你也可以用这个。它合并了其他开发人员的一些新特性。

例如:

  1. 适配AndroidX
  2. 打开串口时支持flags
  3. 增加接收数据睡眠时间