如何在我的真实设备上安装我的应用程序,我的设备未列出

时间:2013-08-11 22:53:10

标签: android eclipse

我刚买了三星Galaxy S3,我安装了Kies软件。 当我尝试将我的一个应用程序从eclipse安装到我的手机时,我发现我的设备“三星Galaxy S3”没有列出,只有虚拟设备“模拟器被列出”

如何列出我的真实设备以在其中安装我的应用程序。

2 个答案:

答案 0 :(得分:0)

首先打开“开发人员选项”然后启用“USB调试”,或者您可以使用adb工具检查您的设备是否已连接。希望它可以帮到你。

答案 1 :(得分:0)

您是否启用了USB调试?

Enable USB debugging on your device.

 -- On most devices running Android 3.2 or older, you can find the option under 
Settings > Applications > Development.
On Android 4.0 and newer, it's in Settings > Developer options.

-- Note: On Android 4.2 and newer, Developer options is hidden by default. 
To make it available, go to Settings > About phone and tap Build number seven times.
Return to the previous screen to find Developer options.

有关详情,请参阅此developer's website

如果你在 linux 那么

非常明确地回答对于Linux,您需要设置UDEV以支持制造商的身份,或者您需要使用sudo重新启动adb。

要做到这一点,请执行以下操作:

lsusb 

并寻找您的平板电脑:

Bus 002 Device 008: ID 04e8:6860 Samsung Electronics Co., Ltd Note the ID.

然后转到

/etc/udev/rules.d

并在该文件中创建一个名为androiddevelopment.rules的新文件:

SUBSYSTEM=="usb", ATTRS{idVendor}=="xxxx", OWNER="yyyy", GROUP="zzzz" 

其中xxxx是ID的第一部分(在我的示例中为04e8),yyyy所有者是您的用户名,zzzz是您的组。

然后重启udev:

sudo service udev restart 

这应该允许Linux自动允许您的用户连接到该设备。

Reference得到了这个答案。