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
I am not being able to build an app. #3
Comments
Same, just came across this new fork: boskokg/flutter_blue#30 edit: the original Flutter Blue module compiles fine - is this something to do with the Kotlin plugin? |
I upgraded gradle and somehow this error went away but came up with another error something like -
I downloaded Jdk 11 and set java home to this installation. After installation, Command Prompt and terminal detects the correct version if I do |
I am also having the same issue for: |
java 1.8 is not supported. You should use java LTS 11 or 17. Can you please check what Flutter doctor tells about the java version used? |
I upgraded my Android Studio and updated my JDK and now it works. |
Yes, issue for me was Android Studio version too; I thought it was up to date but it was in fact quite old. Even with the old one, selecting JDK 17 didn't fix it, so something in the build tools of the old one was breaking things. Odd things is that So fix for others is to update Android Studio. The correct JDK should be included as part SDK 30 but if not, ensures it's JDK 17 as above. |
I am not sure what I did wrong. When I tried to build the app, I get following error
The text was updated successfully, but these errors were encountered: