[英]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:当我克隆并运行该项目时,它显示:您的项目需要更高的 compileSdkVersion。所以我按照它说的做了,要更改:
android { │
│ compileSdkVersion 31 │
│ }
in android\app\build.gradle.在 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.但随后它显示另一个错误: failed to install D:\programming\Flutter_Projects\mi_card_flutter\build\app\outputs\flutter-apk\app.apk: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE] 在 IA Emulator 上的 AOSP 上启动应用程序时出错。
INSTALL_FAILED_INSUFFICIENT_STORAGE 错误意味着没有足够的空间来安装应用程序,请尝试通过卸载不需要的应用程序或从您尝试在其上运行的物理设备或模拟器中删除不需要的文件来清理一些空间。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.