Error: device offline(错误:设备离线)
问题描述
模拟器正在运行.但是当我在我的 shell 中编写 adb shell
时,我得到:
The emulator is running. But when I write adb shell
in my shell I get:
错误:设备离线
这是什么原因?我该如何摆脱它?
What is the reason for this? How do I get rid of it?
推荐答案
如果adb devices"列出了您的设备,但作为离线",您的路径可能会导致 adb 的旧版本(例如 1.0.29)出现问题使用最新的 Android 4 设备.确保adb 版本"返回 1.0.31 或更高版本.从 Android 4.2.2 开始,您必须在您的设备上确认它已连接到受信任的计算机.它适用于 adb 1.0.31 及更高版本.
If "adb devices" lists your device but as "offline" chances are your path leads to an old version of adb (eg 1.0.29) which has problems with latest Android 4 devices. Make sure "adb version" returns 1.0.31 or greater. Starting with Android 4.2.2, you must confirm on your device that it is being attached to a trusted computer. It will work with adb version 1.0.31 and above.
这篇关于错误:设备离线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:错误:设备离线


- android 4中的android RadioButton问题 2022-01-01
- 如何检查发送到 Android 应用程序的 Firebase 消息的传递状态? 2022-01-01
- Android - 我如何找出用户有多少未读电子邮件? 2022-01-01
- 想使用ViewPager,无法识别android.support.*? 2022-01-01
- 在测试浓缩咖啡时,Android设备不会在屏幕上启动活动 2022-01-01
- 使用自定义动画时在 iOS9 上忽略 edgesForExtendedLayout 2022-01-01
- Android - 拆分 Drawable 2022-01-01
- 用 Swift 实现 UITextFieldDelegate 2022-01-01
- Android viewpager检测滑动超出范围 2022-01-01
- MalformedJsonException:在第1行第1列路径中使用JsonReader.setLenient(True)接受格式错误的JSON 2022-01-01