简体   繁体   中英

Flutter Error: Your project requires a higher compileSdkVersion

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.

INSTALL_FAILED_INSUFFICIENT_STORAGE 错误意味着没有足够的空间来安装应用程序,请尝试通过卸载不需要的应用程序或从您尝试在其上运行的物理设备或模拟器中删除不需要的文件来清理一些空间。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM