https://ridgesolutions.ie/wp-content/uploads/2019/07/ridge_logo-site-120.png 0 0 admin https://ridgesolutions.ie/wp-content/uploads/2019/07/ridge_logo-site-120.png admin2023-02-15 19:27:552023-02-16 18:27:48Flutter App no longer building after upgrading to Android Studio Electric Eel (Java errors)
Flutter App no longer building after upgrading to Android Studio Electric Eel (Java errors)
I decided to upgrade to Android Studio Electric Eel today in order to get WiFi pairing and debugging with my android phone – happily WiFi pairing now works, but unhappily my App refused to build anymore with Java version errors.
If when you run flutter doctor and get an error like this:
Take a look at this thread, linking from jbr to jre directories fixed it for me (windows 10), although I had to delete the empty C:\Program Files\Android\Android Studio\jre folder first!
From a CMD session with Admin privileges run:
mklink /D "jre" "jbr"