sidlatau / flutter_email_sender

Allows send emails from flutter using native platform functionality.
Apache License 2.0
146 stars 81 forks source link

[android]flutter_email_sender-6.0.0/android/build.gradle' line: 27 #94

Closed kogepan159 closed 1 year ago

kogepan159 commented 1 year ago

There was a glitch. It was the same with my team members. Please check with me.

error log

aunching lib/main.dart on SCG09 in debug mode...
Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/kengo/.pub-cache/hosted/pub.dev/flutter_email_sender-6.0.0/android/build.gradle' line: 27

* What went wrong:
A problem occurred evaluating project ':flutter_email_sender'.
> No signature of method: build_ccjxn8lz5xephtgsh5r9upynw.android() is applicable for argument types: (build_ccjxn8lz5xephtgsh5r9upynw$_run_closure2) values: [build_ccjxn8lz5xephtgsh5r9upynw$_run_closure2@3f547b5c]

* 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 5s
Exception: Gradle task assembleDebug failed with exit code 1

environment

[!] Flutter (Channel stable, 3.10.3, on macOS 13.2.1 22D68 darwin-arm64, locale ja-JP)
    ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/2.19.0/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/kengo/flutter.
      Consider adding /Users/kengo/flutter/bin to the front of your path.
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] VS Code (version 1.79.0)
[✓] Connected device (4 available)
[✓] Network resources
sidlatau commented 1 year ago

Hmm, I can not reproduce it.