From ea4eb8b0372fb34844c247574a38060b207c8975 Mon Sep 17 00:00:00 2001 From: Wayne <974815768@qq.com> Date: Mon, 28 Oct 2024 19:29:36 +0800 Subject: [PATCH 1/2] Fix Jitpack import issue for UsbSerial dependency --- android/build.gradle | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 49e95b0..3efc4bd 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -49,6 +49,11 @@ android { } dependencies { - implementation 'com.github.felHR85:UsbSerial:6.1.0' + implementation('com.github.felHR85:UsbSerial:7ad6c9f6') { + artifact { + classifier = 'release' + type = 'aar' + } + } } From 2dff0b4dcb141e740688b8a8182c4b77b38e9fba Mon Sep 17 00:00:00 2001 From: Wayne <974815768@qq.com> Date: Mon, 28 Oct 2024 19:39:58 +0800 Subject: [PATCH 2/2] Add todo --- android/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/android/build.gradle b/android/build.gradle index 3efc4bd..ba58072 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -49,6 +49,7 @@ android { } dependencies { + // TODO: Temporary workaround, need to switch to stable release tag when UsbSerial builds successfully. implementation('com.github.felHR85:UsbSerial:7ad6c9f6') { artifact { classifier = 'release'