[!] Invalid `Podfile` file: Please set FLUTTER_FRAMEWORK_DIR to the directory containing Flutter.framework. https://github.com/flutter/flutter/issues/14516 add in .bashrc or .bash_profile export FLUTTER_HOME=/usr/local/etc/flutter exp
Get android sdk path and run: flutter config --android-sdk /media/local/android-sdk Solution: https://github.com/flutter/flutter-intellij/issues/2084#issuecomment-414164342