kongqw / AndroidSerialPort

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

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

Open Lulixue opened 5 years ago

Lulixue commented 5 years ago

Hi @kongqw,你好

添加了maven

allprojects { repositories { google() jcenter() maven { url "https://jitpack.io" } } }

还是报错:

ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.github.kongqw:AndroidSerialPort:1.0.1. Show Details

jitpack上是不是删除?

privateAss commented 3 years ago

同样的错误

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. 增加接收数据睡眠时间