安卓:在Android设备选配同一个设备显示了好几次 [英] Android: Within Android Device Chooser the same device shows up several times

查看:127
本文介绍了安卓:在Android设备选配同一个设备显示了好几次的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Eclipse来为Android OS程序。我用一个真实的设备来测试我的应用程序上。

I am using Eclipse to program for the Android OS. I use a real device to test my application on.

要测试我的应用程序点击运行,则目标的项目,我想运行,然后在Android设备选择器弹出,在那里我可以选择我想要运行的应用程序的设备或模拟器。 (如可能每一个在这里的程序员)。

To test my application I click on run, then the target project i wanna run and then the Android Device Chooser pops up, where I can choose the device or emulator that I want to run the application. (like probably every programmer here).

不过有时候,当我的应用程序崩溃,因为有些异常,在Android设备处理程序得到了一些weired行为。现在,每次我我的设备连接通过USB的计算机的新设备出现在Android设备选配,但所有的人(这是相同的)是未知,所以我不能用我的设备测试了。

But sometimes when my app crashes because of some exception, the Android Device Handler gets some weired behavior. Now everytime I connect my device to the computer via USB a new device shows up in the Android Device Chooser, but all them (which are the same) are "unknown", so I cant use my device for testing anymore.

要解决这个问题的唯一方法是通过重新启动我的电脑。心不是有解决问题的任何其他方式?我失去了一些东西?

The only way to solve this is by restarting my computer. Isnt there any other way to solve the problem? Am I missing something?

推荐答案

在命令行。 (假设亚行的道路上)

In your command line. (assuming ADB is on your path)

尝试:

adb kill-server

adb start-server

adb devices

这篇关于安卓:在Android设备选配同一个设备显示了好几次的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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