我有一台 Mac,当我在 iPhone 上使用 VSCode 运行 Flutter 应用程序时,它可以工作,但如果我在 Android 手机上运行相同的应用程序,则会抛出错误
已经有问题但没有答案:
任务“:app:desugarDebugFileDependencies”执行失败 https://stackoverflow.com/questions/59509560/execution-failed-for-task-appdesugardebugfiledependencies
视觉工作室错误:
https://prnt.sc/qrlvt1 https://prnt.sc/qrlvt1
Android Studio 错误:
https://prnt.sc/qrlw6r https://prnt.sc/qrlw6r
https://prnt.sc/qrlway https://prnt.sc/qrlway
https://prnt.sc/qrlwfk https://prnt.sc/qrlwfk
https://prnt.sc/qrlwkc https://prnt.sc/qrlwkc
https://prnt.sc/qrlwpm https://prnt.sc/qrlwpm
使用Android SDK管理器卸载构建工具28,然后重新安装它们。这对我有用。
构建工具列在“SDK 工具”选项卡下,您必须取消选中“隐藏过时的包”并选中“显示包详细信息”才能显示版本 28 的构建工具。
https://prnt.sc/qrnv1b https://prnt.sc/qrnv1b
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)