Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
orange-jacky opened this issue Jan 10, 2025 · 2 comments
Open

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

orange-jacky opened this issue Jan 10, 2025 · 2 comments

Comments

@orange-jacky
Copy link

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.

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

@abdallah-odeh
Copy link

Same issue here

@orange-jacky
Copy link
Author

orange-jacky commented Jan 15, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants