Android / Eclipse:为什么每次启动应用程序之前都必须拔出/重新插入我的设备?
几天来我遇到了一个以前从未遇到过的问题。当我想运行我的应用程序时,会出现选择设备的窗口,但它是空的。我必须在每次运行时拔下并重新插入手机,才能将我的设备列入列表中。我快要疯了!!!
你知道如何解决这个问题吗?
我使用的是 MAC 电脑,手机是三星 S2。
I have since few days an issue I never had before. When I want to run my app, the window to choose a device appears but its is empty. I have to unplug and replug my phone at each run in order to get my device in the list. I am becoming crazy !!!
Do you know how to solve this issue ?
I am on a MAc computer and my phone is a Samsung S2.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最后发现我的三星 S2 上的 micro-usb 连接出现了硬件问题(由于连接损坏导致连接不稳定)。我把我的设备带到三星去维修......并且它修好了!
我听说有人通过更新 Eclipse 中的所有组件来解决这个问题:
1)“帮助”菜单 =>检查更新=>更新所有模块
2)转到“Android SDK Manager”(Eclipse工具栏中带有Android符号的图标)并更新所有未更新的模块
但我重复一遍,对我来说,这是一个硬件问题:三星S2上的USB连接是从“长期”来看不太可靠(对我来说开发时间还不到一年......)。
It finally appeared that I had a hardware problem with the micro-usb connection on my Samsung S2 (unstable connection due to a damaged connection). I brought my device t Samsung to be repaired...and it fixed it !
I heard that some people fixed this problem by updating all the components in Eclipse:
1) "Help" menu => check for updates => update all modules
2) Go to the "Android SDK Manager" (icon with the Android symbol in the Eclipse tool bar) and update all the modules which are not updated
But I repeat, for me, it was an hardware problem: usb connection on Samsung S2 are not very reliable on the 'long' term (less than 1 year of dev for me...).