i have a problem in flutter i dont have any idea i try all methods

410 views Asked by At

vs wrong

android studio wrong

it is my first wrong

i installed flutter but i am getting errors like this i got my error about java installed sdk installed sdk i have no idea i am waiting for your help virtual studio code say Exception: Build process failed.

1

There are 1 answers

2
Mohamed Reda On

I think I found the problem you have

java version openjdk 11.0.12 2021-07-20

and you mustn't have any Java JDK version after Java 8, to explain why, all you need to know is that Google doesn't support any java version after 8 it's because that Google had a lawsuit with oracle (who support Java) for not fitting the standards with the new versions of Java, that is why google is trying to replase it with Kotlin, so:

  1. uninstall java and
  2. install Java 8 from here

If it still not working, get me the error and will update the answer, but now we solved the Java problem.