错误:设备离线 [英] Error: device offline

查看:16
本文介绍了错误:设备离线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

模拟器正在运行.但是当我在我的 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.

这篇关于错误:设备离线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆