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

fluttertoast:compileDebugJavaWithJavac #521

Open
AgMarwanAg opened this issue Jul 31, 2024 · 2 comments
Open

fluttertoast:compileDebugJavaWithJavac #521

AgMarwanAg opened this issue Jul 31, 2024 · 2 comments

Comments

@AgMarwanAg
Copy link

when I try to run flutter app after adding fluttertoast: ^8.2.6 to my app I get this error when I try to run the app on android

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':fluttertoast:compileDebugJavaWithJavac'.
> Cannot query the value of this provider because it has no value available.

* 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

I tried using different versions of the library ,
I also tried different flutter versions and still have the same issue

@jerrydix
Copy link

jerrydix commented Aug 19, 2024

I have the same issue

@jerrydix
Copy link

Fixed the issue by upgrading to the following versions:
plugins { id "dev.flutter.flutter-plugin-loader" version "1.0.0" id "com.android.application" version "8.5.2" apply false id "org.jetbrains.kotlin.android" version "1.9.23" apply false }
and API level 35 and latest version of the Fluttertoast package

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