怎么我真正的设备上安装我的应用程序,我的设备未列出

问题描述:

我刚刚买了三星Galaxy S3和我安装Kies的软件。
当我试图在Eclipse安装我的应用程序之一,我的手机,我发现我的设备三星Galaxy S3还没有上市,只有虚拟设备模拟器列

I have just bought Samsung Galaxy S3, and I installed Kies software. When I tried to install one of my apps from eclipse to my phone I found that my device "Samsung Galaxy S3" is not listed, only the virtual device " the emulator is listed"

我怎么能有我真正上市的设备安装我的应用程序在里面。

How can I have my real device listed to install my app in it.

是否启用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.

有关更多信息,请通过此开发者的网站

For more information go through this developer's website.

如果您在 的Linux ,然后

If you are on linux then

非常清楚,回答对于Linux,你需要设置UDEV以支持制造商的身份,或者你需要使用sudo重新启动ADB。

Very clearly answered For Linux you need to setup UDEV to support the manufacture's identity, or you need to restart adb using sudo.

要正确地做到这一点,做到这一点:

To do it correctly, do this:

lsusb 

和查找平板电脑:

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

然后到

/etc/udev/rules.d

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

and create a new file called androiddevelopment.rules in that file put this:

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

,其中xxxx是ID(在我的例子04e8)的第一部分,YYYY主人是你的用户名和ZZZZ是你的小组。

Where xxxx is the first part of the ID (04e8 in my example), yyyy owner is your username and zzzz is your group.

然后重新启动udev的:

Then restart udev:

sudo service udev restart 

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

That should allow Linux to automatically allow your user to connect to that device.

得到这个答案Reference.