gpt4 book ai didi

flutter - flutter 失去与物理设备的连接

转载 作者:行者123 更新时间:2023-12-03 04:19:59 27 4
gpt4 key购买 nike

使用flutter调试时,我的物理设备总是断开连接。我试图停止并启动adb服务器,从手机中删除剩余的应用程序,运行Flutter Clean,Flutter升级(目前稳定在1.17.5上),然后取消选中/选中手机上的调试设置。在今天之前,一切工作正常,并且在模拟器上仍然可以正常工作。

Launching lib\main.dart on Redmi 5A in debug mode...
√ Built build\app\outputs\apk\debug\app-debug.apk.
Error: ADB exited with exit code -1
Performing Push Install
adb: error: failed to get feature set: device 'd526d3aa7ce5' not found
Error launching application on Redmi 5A.
Exited (sigterm)
Flutter Doctor:
   [√] Flutter (Channel stable, v1.17.5, on Microsoft Windows [Version 10.0.18363.959], locale de-CH)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.0-rc2)
[√] Android Studio (version 3.6)
[√] VS Code, 64-bit edition (version 1.47.3)
[√] Connected device (2 available)

最佳答案

问题出在USB调试设置中,依次转到开发人员选项和USB调试,然后在那里找到一些选项并将其打开。

关于flutter - flutter 失去与物理设备的连接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63264693/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com