Could not locate aapt. Please ensure you have the Android buildtools installed.
No application found for TargetPlatform.android_arm64.
Is your project missing an android/app/src/main/AndroidManifest.xml?
Consider running "flutter create ." to create one.
在项目运行期间显示此错误的 vscode 调试控制台中。
最佳答案
确保安装了android sdk。如果已安装并配置,请检查 android SDK 是否存储在卸载驱动器上,如果是这种情况,请尝试安装驱动器。我在导致问题的 ubuntu 操作系统中禁用了硬盘分区的自动挂载功能。
关于android - 找不到 aapt。请确保您已安装 Android 构建工具,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70146644/