gpt4 book ai didi

android - Expo start Couldn't adb reverse : adb. exe:错误:设备离线

转载 作者:行者123 更新时间:2023-12-04 23:52:32 25 4
gpt4 key购买 nike

使用 Expo 启动 react-native 项目,出现 adb 连接错误。
需要连接 Expo 本地和 Android studio 模拟器
控制台错误是这样的。

To run the app, choose one of:
› Scan the QR code above with the Expo app (Android) or the Camera app (iOS).
› Press a for Android emulator, or w to run on web.
› Press e to send a link to your phone with email.

Press ? to show a list of all available commands.
Couldn't adb reverse: adb.exe: error: device offline
Couldn't start project on Android: Error running adb: adb.exe: device offline
Couldn't adb reverse: adb.exe: error: device offline
Couldn't start project on Android: Error running adb: adb.exe: device offline
来人帮帮我

最佳答案

我能够解决这个问题如下:

  • 启动 Android Studio 模拟器
  • 在模拟器中打开设置应用程序
  • 激活开发者模式(通过反复点击内部版本号)
  • 关于android - Expo start Couldn't adb reverse : adb. exe:错误:设备离线,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66391613/

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