![]() ![]() And the post by only gives a (good) workaround, but this still is not really a solution to the problem. This bug should not have been closed with the given explanation. Perhaps somebody else can check and do this (I currently lack the time to do this all.) Perhaps file a bug against the flutter plugin of IntelliJ that it should set $ANDROID_HOME to the one in use.Open a bug, that flutter config only allows one single global config per luser and recommend to do it like git and explain inheritance as stated in this comment.Open a bug, that flutter doctor does point to $ANDROID_HOME where it shall point to flutter config instead.Find out if all babble above is properly addressed by the latest flutter. except for strings, which are made of only - characters.From the SDK Manager, go to SDK Platforms > Install the SDK Platform for your respective Android version. Next, go to Appearance & Behavior > System Settings > Android SDK. An empty string does inheritance (removes the setting) To do this, follow the steps below: Launch the Android Studio application > Open up the Preferences window from File > Settings.My recommendation about this is as follows: But there also must be some way to inherit a setting. There must be a way to unset a default value, such that you can unset a "global" setting in "local" context. flutter config system which is /etc/flutter_settings (or similar)įlutter config states "To remove a setting, configure it to an empty string.".flutter config global which is $HOME/.flutter_settings.flutter config local which is the default, stored in $FLUTTER_HOME/.flutter_settings (or similar).git config has 3 possible locations:įlutter should do it similarly. ![]() This setting is shared between all flutter variants, so the Android-SDK must fit for all Flutter-Variants you use in parallel.You can only select one single Android-SDK out of all installed ones, this makes it impossible to use different Android-SDKs with flutter in parallel.Setting a global variable and restarting X11 is not helpful, as you might want to work with several Android-SDK variants in parallel, where only (typically the wrong) one can live in the environment.įlutter config saves the setting into $HOME/.flutter_settings. Flutter config -android-sdk "$HOME/SDK/android-sdk-linux"
0 Comments
Leave a Reply. |