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
Gradle assemble error : java.lang.ClassNotFoundException: org.gradle.internal.jvm.UnsupportedJavaRuntimeException #77161
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Oh no nevermind, the log message was minimized, didn't notice. |
@yann-dupont
Are you sure you are running |
My bad, I was indeed running flutter run --verbose from the wrong directory, here's the right output :
pubspec.yaml is indeed present, in the root of the project. I put it in the first post. Here are the build.gradle files :
android/app/build.gradle
I should mention that the error occurs for every project I try to create, but not when another person runs the exact same project on their computer. That's why I think it's caused by something external to the projects. |
@yann-dupont Regarding Can you upgrade to latest stable (2.0.0) and try again |
gradle-wrapper.properties :
Still throws the same error after upgrading to 2.0.0. |
Try also to update your dependencies. In
In
|
@Juliotati that actually worked, thank you so much ! |
Great 🥳 you can close the issue now. |
Closing this as resolved based on comments above. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Hi there,
I am having an issue running my code with Flutter on Android Studio.
It seems to be an issue with Gradle, not sure what is causing it.
I already tried reinstalling Flutter and Android Studio, to no avail. Couldn't even get a different error ^^'
Already tried a bunch of fixes from other issues too, although those might not have been the same problem as mine.
Steps to Reproduce
... didn't happen for other people i know who use flutter, might have something to do with a version of some package/software/ ?
Since Gradle and the JDK I'm using are bundled with Android studio, which I reinstalled, I really don't know what external factor could cause that.
Logs
Logs
Error when running the project :
flutter run --verbose
flutter doctor -v
Idk why it says the Flutter and Dart plugins are not installed, it does the same for other people I know.
pubspec.yaml
If anyone has an idea, it would be greatly appreciated.
The text was updated successfully, but these errors were encountered: