Usually the error message is: Unsupported Java. Your build is currently configured to use Java ... and Gradle 6.1.1. Go to File -> Project Structure -> SDK Location and click on the Gradle Settings. Set Gradle JDK to 1.8 File -> Invalidate Caches and click on Invalidate and Restart. ...
Android Studioneeds to be installed on your Ubuntu system to runFlutter. Since you want to set up a development environment, I’m assuming your machine meets the minimum requirements. To install the latest version ofAndroid Studioon Ubuntu, you need todownload the Android Studio Giraffe installer...