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

After upgrading Error java invalid source release 11 #24238

Closed
NTMS2017 opened this issue Nov 12, 2018 · 6 comments
Closed

After upgrading Error java invalid source release 11 #24238

NTMS2017 opened this issue Nov 12, 2018 · 6 comments

Comments

@NTMS2017
Copy link

When I try to build my Flutter project I get:

  • Error java invalid source release 11

I upgrade the Flutter today, rest of the details in below:

OS: macOS Mojave 10.14.1
IDE: IntelliJ IDEA Community 2018.2.5
Build: #IC-182.4892.20, built on October 16, 2018
JRE: 1.8.0_152-release-1248-b19 x86_64
JVM: OpenJDK 64-Bit

Terminal:
java version "1.8.0_162"
Java(TM) SE Runtime Environment (build 1.8.0_162-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode)

@zoechi
Copy link
Contributor

zoechi commented Nov 12, 2018

Please add the output of flutter doctor -v.

@zoechi zoechi added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Nov 12, 2018
@NTMS2017
Copy link
Author

Thanks, I install jdk 11 and re configure the IDE and its working now. Bur I have a problem on hot-reload. First run always give me an error and is not showing what the error was. but second run I can see the my app loading inside the emulator. Since February lots of changes happenedin Flutter and Dart and I also update my mac to macos mojave. my mac is clean all the time that I dont put everything in it. Just the dart project and Flutter project that I am working. How good is, if I remove everything and clean install IDE to dart, flutter, android studio and xcode? I am nearly in phase to release my app. Which is most stable version of dart and flutter so I can run build to get ios and android output for publising?

Thanks

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Nov 13, 2018
@zoechi
Copy link
Contributor

zoechi commented Nov 13, 2018

I have seen several reports about problems with hot-reload recently. It's not clear to me what causes it or how to work around. Please follow the issues.

Which is most stable version

usually the lates of beta channel.

@zoechi
Copy link
Contributor

zoechi commented Nov 13, 2018

I install jdk 11 and re configure the IDE and its working now.

doesn't sound like a Flutter issue then.
I'm going to close.

@zoechi zoechi closed this as completed Nov 13, 2018
@NTMS2017
Copy link
Author

thanks

@github-actions
Copy link

github-actions bot commented Sep 1, 2021

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 flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants