的Nexus 5将不会在Eclipse中显示会在、将不、Nexus、Eclipse

2023-09-12 07:51:12 作者:落叶不随风

我的新的Nexus 5将不会在Eclipse中显示。我曾尝试在互联网上的每一个解决方案,在过去的3小时。我的Windows 8,而不是8.1。我有一个新的惠普Envy笔记本电脑。我是在一个紧凑的时间框架,并需要得到这款手机发展。

My new Nexus 5 will not show in Eclipse. I have tried every single solution on the internet for the last 3 hours. I have windows 8, not 8.1. I have a new HP Envy laptop. I am under a tight time-frame and need to get developing with this phone.

允许USB调试检查。驱动程序是最新的,并从Android开发者网站的Nexus 5,我已经走了,然后进入设备管理器,右击下载 - >更新驱动程序 - >浏览 - >去在Android SDK中的USB驱动程序文件,确信包括子目录被选中,然后单击Finish。它安装。他们已经是最新的。尝试选择从列表中进行选择。然后selcting MTP USB设备并进行安装。这是唯一一个显示为我兼容。

Allow usb debugging is checked. The drivers are up to date and downloaded from the Android developer site for Nexus 5. I have then gone into device manager and right-clicked -> update drivers -> browse -> gone to that usb-driver file in Android sdk, made sure include sub-directories is checked, then click finish. It installs. They are already up to date. Tried selecting choose from list. then selcting MTP USB device and installing. That's the only one that shows up as compatible for me.

我从MTP USB连接PTP USB连接切换。

I have switched from MTP USB connection to PTP USB connection.

我重新在DDMS亚洲开发银行。

I have reset the adb in the DDMS.

我发现我在设备管理器硬件ID,然后添加code正确的线路到android_winusb.inf文件。

I have found my hardwareId in Device Manager and then added the correct lines of code into the android_winusb.inf file.

我已经进入了Android的SDK管理器,在安装了谷歌USB驱动程序群众演员。我的是转8。这样行不行?

I have gone into Android SDK manager, and under extras installed "Google USB driver". Mine is rev 8. Is that okay?

毕竟,我已经重新启动我的电脑和手机。

After all that I have restarted my computer and the phone.

我的手机一直被认可,我的电脑没有做任何事情。这只是Eclipse中,需要识别它。

My phone has always been recognised by my computer without doing anything. It is just Eclipse that needs to recognise it.

更新:本来我找到我的Nexus 5在便携设备在设备管理器,当我更新的驱动程序从这里它没有任何效果。就在这时,它突然出现在其他,我更新了一些司机,我发现在网上推荐,但在最后说:三星驱动程序安装,这是LG。那么现在我看到我的Nexus在Android设备在设备管理器弹出。 修改其实它说Android的复合亚行界面。我的Nexus是不是在其他了。它只有在便携设备。现在,我的手机是显示了在Eclipse中。但它是离线状态,当我点击运行我的应用程序,它的存在,但我不能preSSOK,目标是未知的一个警告。也许现在的解决方案是要仔细检查我下载正确的驱动程序,那些不说三星。

UPDATE: Originally I was finding my Nexus 5 in the device manager under portable devices and when i updated drivers from here it had no effect. Just then it popped up under "Other" and i updated the drivers with some i found recommended online but it said at the end "Samsung drivers installed" and this is LG. Then now I see my Nexus popping up under "Android device" in the device manager. EDIT Actually it says Android composite ADB interface. My Nexus is not under "Other" anymore. It is only under portable devices. Now my phone is showing up in Eclipse. But it is status offline, and When i click to run my app, it is there, but i cannot press "OK", and the target is unknown with a warning. Maybe the solution now is to double check i download correct drivers, ones that don't say "Samsung".

感谢。

推荐答案

请尝试以下步骤,看看设备是否认可。

Try these steps and see if the device is recognized.

首先检查您是否已经在你的设备的设置菜单开发人员选项。

First check if you have Developer Options in the Settings Menu of your device.

如果不是 - (请注意,在运行4.2和更高版本的Andr​​oid OS此选项是隐藏的谷歌故意旗舰结点设备)

If not - (Please know that in flagship nexus devices running 4.2 and later Android OS this option is hidden by Google on purpose)

如何使开发人员选项 - 进入设置 - >关于手机 - >构建号(点击版本号7次),这应该使您的开发人员选项

How to Enable developer options - Go to Settings --> About Phone --> Build Number (Tap the build number 7 times) this should enable your Developer Option

打开USB调试

使用USB电缆连接您的Nexus 5到您的计算机。

Connect your Nexus 5 to your computer using the USB cable.

如果在这一点上的Eclipse不承认它。尝试启动Windows命令提示符由pressing按Ctrl + R和输入cmd并回车。

If at this point Eclipse do not recognize it. Try to start a command prompt on Windows by pressing Ctrl + R and type cmd and enter.

导航到你已经安装了,你有你的adb.exe你的Andr​​oid SDK文件夹。

Navigate to where you have installed your Android SDK folder where you have your adb.exe.

对于我来说,这是在 C:\ Program Files文件(x86)的\机器人\ Android的SDK \平台工具\

做一个 CD C:\ Program Files文件(x86)的\机器人\ Android的SDK \平台工具 - 输入

然后键入 ADB设备,而你的关系5连接到您的计算机。这应该重新启动ADB服务器杀死任何过时的会话。在这一点上,你应该接受你关于RSA的指纹等,只要接受它和Eclipse应该能够与您的设备进行通信的设备的说明。

then type adb devices while your nexus 5 is attached to your computer. this should restart the adb server killing any stale session. At this point you should receive instructions on your device about RSA fingerprint etc. Just accept it and Eclipse should be able to communicate with your device.

编辑:

您可能需要以下上述步骤后,安装ADB驱动。从下载通用ADB驱动安装在这里并执行它。它会自动检测你的手机型号,并会安装驱动程序。

You may need to install adb drivers after following aforementioned procedure. Download universal adb driver installer from here and execute it. It would automatically detect your phone model and will install drivers.

编码快乐..

 
精彩推荐