![]() JAVA_HOME is not set and no 'java' command could be found in your PATH In my case i had already installed java 8 from oracle and gradle seems to use it even if i set the Android studio embedded JDK as this post say I hope this can help users that are using Android Studio Electric Eel 2022.1.1 : I searched for some solutions, one of them suggested that I'm using java1.8 but that was not the case!. 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. Running Gradle task 'assembleDebug'.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'. Please use Gradle 6.1 or newer, or the previous version of the Kotlin plugin. > The current Gradle version 5.6.4 is not compatible with the Kotlin Gradle plugin. Launching lib/main.dart on sdk gphone x86 in debug mode.īuild file '/root/my-app/android/app/adle' line: 25Ī problem occurred evaluating project ':app'. If you notice graphics artifacts, consider enabling software rendering with "-enable-software-rendering". Using hardware rendering with device sdk gphone x86. I have updated my kotlin version to latest, and from them I have started getting the following error while startup flutter run
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |