Java version OpenJDK Runtime Environment (build 14.0.2+12-46). Platform android-30, build-tools 30.0.2.Android SDK at /home/moneer/Android/Sdk.Flutter version 1.22.4 at /opt/flutter_linux_1.20.4-stable/flutter.Thank you all hopefully I'm missing something simple! ✗ Dart plugin not installed this adds Dart specific functionality.Įxception in thread "main" : javax/xml/bind/annotation/XmlSchemaĪt .SchemaModule$SchemaModuleVersion.(SchemaModule.java:156)Īt .SchemaModule.(SchemaModule.java:75)Īt .AndroidSdkHandler.(AndroidSdkHandler.java:81)Īt .(SdkManagerCli.java:73)Īt .(SdkManagerCli.java:48)Ĭaused by: : .XmlSchemaĪt java.base/.loadClass(BuiltinClassLoader.java:602)Īt java.base/$AppClassLoader.loadClass(ClassLoaders.java:178)Īt java.base/(ClassLoader.java:522) ✗ Flutter plugin not installed this adds Flutter specific functionality. Run `flutter doctor -android-licenses` to accept the SDK licenses. Android toolchain - develop for Android devices (Android SDK version 30.0.2) Flutter (Channel stable, 1.22.4, on Linux, locale en_US.UTF-8) so I ran flutter config -android-studio-dir="/snap/bin" but now I get this output even though I have the plugins installedĭoctor summary (to see all details, run flutter doctor -v): At first it couldn't find android studio- said it is not installed. I tried reinstalling android studio, but it didn't work. I tried copying it and running it and it runs with no problems with #!/usr/bin/env bash which is the shebang in gradlew Please set the JAVA_HOME variable in your environment to match the location of your Java installation. Which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. JAVACMD= " $JAVA_HOME/bin/java " fi if thenĭie "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME Please set the JAVA_HOME variable in your environment to match the location of your Java installation. if then if then # IBM's JDK on AIX uses strange locations for the executables # Determine the Java command to use to start the JVM.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |