Closed vonam2991 closed 10 months ago
Facing the same problem, did you find a fix? @vonam2991
Same issue, device vid=6790, pid=29987 (CH340).
I was able to get the example code from this repo to work fine with this device, but copying and pasting the main.dart
into a new flutter project (using flutter create
with flutter version 3.13.0) has the same issue.
I think this points to an issue with the android specific code/configuration, but haven't tracked it down further.
Hmm as hinted at in #70 and a bunch of other issues in this repo, changing from targetSdkVersion 33 to 30 fixed this for me.
Maintainers of this lib should consider closing some of these as duplicates...
Fix Merged.
I'm getting Unhandled Exception: PlatformException(UsbSerialPortAdapter, Not an Serial device., null) when create 1 UsbDevice Prolific PL2303 - vendor-id="067B" product-id="23F3"