在VSCode中调试Flutter应用时出错

时间:2020-07-02 19:29:34

标签: flutter debugging visual-studio-code

当我尝试在 VSCode 中调试Flutter应用程序时,显示错误。

我使用华为Y5 Prime 2018 ((DRA-LX2)

日志:

Launching lib\main.dart on DRA LX2 in debug mode...
√ Built build\app\outputs\apk\debug\app-debug.apk.
Failed to extract manifest from APK: ProcessException: The command failed
Command: C:\Users\Mohammed\AppData\Local\Android\sdk\build-tools\29.0.3\aapt dump 
xmltree D:\dicee-flutter\build\app\outputs\apk\app.apk AndroidManifest.xml.
Exception: Problem building Android application: see above error(s).
Exited (sigterm)

该如何解决?

1 个答案:

答案 0 :(得分:0)

尝试此命令

flutter clean