Home > Mobile >  Flutter Error: Your project requires a higher compileSdkVersion
Flutter Error: Your project requires a higher compileSdkVersion

Time:06-10

when I clone and run the project, it shows: Your project requires a higher compileSdkVersion.So I did what it said, which to change:

android {                                                                                                                    │
│   compileSdkVersion 31                                                                                                       │
│ }     

in android\app\build.gradle. But then it show another error: failed to install D:\programming\Flutter_Projects\mi_card_flutter\build\app\outputs\flutter-apk\app.apk: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE] Error launching application on AOSP on IA Emulator.

CodePudding user response:

INSTALL_FAILED_INSUFFICIENT_STORAGE error means that there is no enough space to install the app, try to clean some space by uninstalling unwanted apps or removing unwanted files from the physical device or the emulator you are trying to run on it.

  • Related