usbserial icon indicating copy to clipboard operation
usbserial copied to clipboard

Could not find com.github.felHR85:UsbSerial:6.1.0

Open orange-jacky opened this issue 11 months ago • 2 comments

app_flutter git:(master) ✗ fvm flutter build apk --release

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':usb_serial:generateReleaseRFile'.

Could not resolve all files for configuration ':usb_serial:releaseCompileClasspath'. Could not find com.github.felHR85:UsbSerial:6.1.0. Required by: project :usb_serial

  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 4m 54s Running Gradle task 'assembleRelease'... 295.4s Gradle task assembleRelease failed with exit code 1

orange-jacky avatar Jan 10 '25 14:01 orange-jacky

Same issue here

abdallah-odeh avatar Jan 11 '25 10:01 abdallah-odeh

Same issue here

vi pubspec.yaml

   # usb_serial: ^0.5.2
  usb_serial:
    git:
      url: https://github.com/jymden/usbserial.git
      ref: master
flutter clean
futter run 

it‘s working

orange-jacky avatar Jan 15 '25 06:01 orange-jacky