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

Build failed when run the app #2

Closed
MustafaDeniz23 opened this issue Jul 17, 2021 · 1 comment
Closed

Build failed when run the app #2

MustafaDeniz23 opened this issue Jul 17, 2021 · 1 comment

Comments

@MustafaDeniz23
Copy link

MustafaDeniz23 commented Jul 17, 2021

I added flutter_charset_detector: ^0.3.0 to my pubspec.yaml. And there was no problem when i wrote "pub get" on the terminal. But i tried to run the app, and because of the following exception, the build failed.

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
e: C:\Users\Dexter\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\flutter_charset_detector-0.3.0\android\src\main\kotlin\com\madlonkay\flutter_charset_detector\FlutterCharsetDetectorPlugin.kt: (58, 36): Expecting an argument

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':flutter_charset_detector:compileDebugKotlin'.

What should i do? Thanks a lot.

@amake
Copy link
Owner

amake commented Jul 18, 2021

See #1. Your choices are:

  • Update your Kotlin to 1.3.70 or later
  • Use flutter_charset_detector 1.0.1

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