的Nexus 5(奇巧4.4)将不会批准我的Windows 8电脑我的、奇巧、电脑、Nexus

2023-09-05 02:03:07 作者:童年可以轻描淡写、

我试图做一些应用程序开发为Android与Eclipse和我的Nexus 5。

I'm trying to do some app development for Android with Eclipse and my Nexus 5.

不过,首次从Eclipse中加载MyFirstApp后,我似乎无法得到授权的权利。

However, after the first time loading MyFirstApp from Eclipse, I can't seem to get the authorization right.

当我从命令提示符下运行ADB设备,我最终得到

When I run adb devices from the command prompt, I end up getting

0350b965215d9854               unauthorized

0350b965215d9854               offline

和甚至重新启动后的一切,我只是偶尔得到我的手机的授权弹出。即使我选择总是允许从这台计算机复选框(如下图),我的电脑仍然是未经授权的。我从未有过它记得授权我的计算机复选框建议。

and even after restarting everything, I only sporadically get the authorization popup on my phone. Even if I select 'always allow from this computer' checkbox (pic below), my computer remains unauthorized. I have never had it remember authorizing my computer as the checkbox would suggest.

有几次,造成服务器并重新启动服务器多次后,亚行将识别该设备,如键入亚行的设备后,我得到

A few times, after killing the server and restarting the server multiple times, adb will recognize the device, as after typing "adb devices", I get

0350b965215d9854            device

但是,如果我尝试在Eclipse中运行应用程序,我会收到以下错误消息。

But if I try running the app in eclipse I'll get the following error message.

[2013-11-09 18:10:16 - MyFirstApp] Failed to install MyFirstApp.apk on device '0350b965215d9854': timeout
[2013-11-09 18:10:16 - MyFirstApp] Launch canceled!

我也无法从亚洲开发银行运行shell或其他命令。

I'm also unable to run shell or other commands from adb.

我我使用的是最新的USB驱动程序,Android SDK中,和Eclipse版本,并尝试以下修复验证:

I've verified I'm using the latest usb drivers, android sdk, and eclipse release and have tried the following fixes:

在Nexus的5:

引导在安全模式下

Booting in Safe mode

绷/ untoggling USB调试

Toggling/untoggling USB Debugging

吊销USB调试授权和重新授权

Revoking USB debugging authorization and reauthorizing

重新启动手机

在一次性基础上允许的权限

Allowing permissions on a one-time basis

在Windows 8的:

On Windows 8:

重新启动计算机

Restarting the computer

重新启动Eclipse的

Restarting Eclipse

杀戮/开始从CMD亚行

Killing/starting adb from cmd

从任务管理器杀亚行

重新安装的Eclipse

Reinstalling Eclipse

重新安装谷歌的USB驱动程序

Reinstalling google's USB drivers

在谷歌的司机按this 问题

Installing the nexus 5 line in google's drivers as per this question

重新安装了Android SDK

Reinstalling the Android SDK

更改USB端口

我已经看到了Nexus 4 和的Nexus 7 ,但乱投医后载在这些解决方案,我仍然没有得到任何地方。

I've seen very similar posts for the Nexus 4 and Nexus 7, but after trying everything contained in those solutions, I'm still not getting anywhere.

推荐答案

实施上述内文陈的步骤没有成功后,我结束了我的系统升级到Windows 8.1不相干的原因。出于好奇,我又试了USB调试,和它的工作在第一时间没有问题。它一直以来持续的工作。

After implementing Nevin Chen's steps above without success, I ended up upgrading my system to Windows 8.1 for unrelated reasons. Out of curiosity I tried usb debugging again, and it worked the first time without problems. It has continued to work since.

我只能怀疑的问题是,与不正确的驱动程序,只有一个系统还原或升级最终会重写安装在系统的设置。尝试卸载从设备管理器的驱动程序似乎没有帮助的问题。

I can only suspect that the problem was a system setting that was installed with an incorrect driver that only a system restore or upgrade would end up rewriting. Trying to uninstall the drivers from the device manager seemed not to help the problem.

我会很好奇地想知道,如果别人已经解决了这个问题,系统还原或升级。

I would be curious to know if anybody else has solved this problem with a system restore or upgrade.