如何将设备连接到Eclipse? [英] How to connect the device to Eclipse?
问题描述
我无法解决这个简单的问题。
我试图通过USB电缆将设备连接到Eclipse。
在我的PC,我已经安装了Eclipse和Android SDK,并在仿真器上运行程序正常工作。
我已经在我的电脑上下载并安装了Samsung Kies。它显示我的设备,如果通过USB连接到PC。
但我不知道如何连接设备与模拟器。
连接意味着,我想在我的设备上运行Eclipse代码,而不是模拟器。 我正在使用 三星Galaxy Ace GT-S5830i
。请帮我解决这个问题。
评论是缺乏格式化,所以我添加一个答案。 b
$ b
-
检查您的电脑是否有您的手机驱动程序。我假设你使用
Windows
。打开设备管理器
-
在命令提示符下,在开始搜索框或运行框中,键入以下命令:
mmc devmgmt.msc
-
。其他方式:检查链接
如果您发现您的手机名称或
ADB接口
驱动程序。尝试重新启动DDMS
或重新启动Eclipse
。 -
-
如果您没有找到您的设备或看到
其他具有黄色问号的设备
,请尝试通过浏览手机安装驱动程序设置
-开发人员选项
-启用开发人员选项
-启用USB调试
-将您的手机插入电脑
。 Windows会要求您安装驱动程序。 3,在Android SDK Manager(在Eclipse中)更新Google USB驱动程序,或者搜索三星Galaxy Ace GT-S5830i驱动程序
4.有一些奇怪的情况我得到了一些设备。
- Nexus S:禁用开发人员选项。重启电话。再次启用Windows要求安装驱动程序,否则您将在
Eclipse
中看到它。 - HTC手机或三星:更改
连接
选项仅收费
(滑动状态栏,检查通知显示)。某些手机设置为某种同步数据,因此Windows无法识别设备。
I am not able to resolve this simple issue.
I am trying to connect my device to Eclipse via USB cable.
On my PC, I have installed Eclipse and the Android SDK and running the program on the emulator is working fine.I have downloaded and installed Samsung Kies on my PC. It shows my device if connected via USB to the PC.
But I dont know how to connect the device with the emulator.
Connect means, I want to run the Eclipse code on my device instead of emulator. I am using
Samsung Galaxy Ace GT-S5830i
. Please help me out to resolve this issue.解决方案Comment is lack of formatting so i add an answer.
Check if your computer had your phone driver. I assume that your use
Windows
. OpenDevice Manager
At a command prompt, in the Start Search box, or in the Run box, type the following command:
mmc devmgmt.msc
. Other ways : check link
If you find your phone name or
ADB Interface
so you got driver. Try to restartDDMS
or restart yourEclipse
.If you don't find your device or see something
Other device with yellow question mark
so try to install driver by browsing on your phone toSettings
-Developer Options
-Enable developer option
-Enable USB debugging
-Plug your phone to computer
. Windows will ask you to install driver.
3, Update Google USB driver in Android SDK Manager (in Eclipse) or search
Samsung Galaxy Ace GT-S5830i driver
4.Some weird case i got on some device.
- Nexus S: disable Developer option. Restart phone. Enable again. Windows ask to install driver or you will see it in
Eclipse
. - HTC phone or Samsung : change
Connectivity Option
on phone toCharge only
(Swipe status bar. Check notifications displayed). Some phone set it to some kind of Sync data so Windows can not recognize device.
这篇关于如何将设备连接到Eclipse?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
- Nexus S:禁用开发人员选项。重启电话。再次启用Windows要求安装驱动程序,否则您将在