JVM: 11.0.14 (Ubuntu 11.0.14+9-Ubuntu-0ubuntu2.22. sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer The download may take some time, so depending on your internet speed, this might be a good time to get some Java (or other caffeinated beverage) of your own. I searched for some solutions, one of them suggested that I'm using java1.8 but that was not the case! :~/FlutterProjects/MyProjects/ConverterNOW/android$. Run with -scan to get full insights.Įxception: Gradle task assembleDebug failed with exit code 1 Run with -info or -debug option to get more log output. Run with -stacktrace option to get the stack trace. changing the JAVA_HOME environment variable. You can try some of the following options: > Android Gradle plugin requires Java 11 to run. I imported a Flutter project, and when I tried to run it, I got this message error: FAILURE: Build failed with an exception.īuild file '/home/omer358/FlutterProjects/MyProjects/ConverterNOW/android/app/adle' line: 24Ī problem occurred evaluating project ':app'.
0 Comments
Leave a Reply. |