Failed to extract manifest from APK: ProcessException: %1 不是有效的 Win32 应用程序。
作者:互联网
Failed to extract manifest from APK: ProcessException: %1 不是有效的 Win32 应用程序。
Is your project missing an android\app\src\main\AndroidManifest.xml?
Launching lib\main.dart on ** in debug mode…
Failed to extract manifest from APK: ProcessException: %1 不是有效的 Win32 应用程序。
Command: F:\AndroidSDK\build-tools\31.0.0\aapt.EXE dump xmltree H:\flutterproject\flutter_pad7_lixiaoxiao\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml.
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.
flutter运行时无缘无故出现错误,运行原生项目可以正常安装
需要更新 Android SDK tools ,找到目前自己使用的 sdk tools 版本 ,我删除了目前我使用的31.0.0(取消勾选后 apply,然后再勾选下载安装)成功解决
标签:xml,Failed,tools,app,manifest,Win32,APK,extract,flutter 来源: https://blog.csdn.net/ming_ruo_xiao_xi/article/details/123135641