Flutter

Flutter learning curve

Using multiple Android Studio versions for building old Flutter apps

Install another version of Android Studio (for example 4.2.2):

https://stackoverflow.com/questions/27836347/how-to-install-multiple-android-studio-with-different-versions-on-same-pc

Make sure command line tools and NDK are installed. For NDK:

In your Android Studio, Go to File -> Project Structure -> SDK Location -> Under "Android NDK Location", click on "Download" Android NDK

Then set flutter's config:


flutter config --android-sdk="/home/user/Android/Sdk"
flutter config --android-studio-dir="/usr/local/android-studio"