I’m working on a Flutter REST API. I type into the command-line: flutter run -v to start the application. But that doesn’t work: INSTALL_FAILED_INSUFFICIENT_STORAGE Why? There is still enough storage space on my local machine. The error is Android-specific. When you run the Android emulator, it creates an ADB device. When you develop your app, Flutter (or Android SDK) will install packages into ADB. It looks like that fills up the (virtual) storage space.
Getting Flutter and Android working together is no small feat. Linux may be a first-class citizen when it comes to developing with Flutter, but setting up Java, Android and the Android tool-chain can be a real hassle. This blog post shows how get Flutter working with Android SDK without installing Android Studio. Android Studio is a fully-fledged IDE. If you want to use a different development editor (like Vim or VS Code), Android Studio is only good for eating space on your hard drive.