Nexus 5(Kitkat 4.4)将不会授权我的Windows 8计算机 [英] Nexus 5 (Kitkat 4.4) won't authorize my Windows 8 computer

查看:248
本文介绍了Nexus 5(Kitkat 4.4)将不会授权我的Windows 8计算机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



但是,在第一次从Eclipse加载MyFirstApp之后,我可以'似乎得到授权。



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

  0350b965215d9854未经授权

  0350b965215d9854 offline 

即使重新启动一切,我只是零星地得到我手机上的授权弹出窗口。即使我选择始终允许从这台电脑复选框(如下图),我的电脑仍然未经授权。我从来没有记得授权我的电脑,因为复选框会建议。



几次,在杀死服务器并重新启动服务器多次后,adb会识别设备,在输入adb设备后,我得到

  0350b965215d9854设备
pre>

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

  [2013-11-09 18:10:16  -  MyFirstApp]无法在设备'0350b965215d9854'上安装MyFirstApp.apk:超时
[2013-11-09 18:10:16 - MyFirstApp]启动取消!

我也无法从adb运行shell或其他命令。



我已经验证我使用的是最新的usb驱动程序,android sdk和eclipse版本,并尝试了以下修复程序:



在Nexus 5上:




  • 以安全模式启动



    切换/取消切换USB调试



    撤销USB调试授权并重新授权



    重新启动手机

    允许一次性访问权限




在Windows上8:




  • 重新启动计算机



    重新启动Eclipse



    从cmd中删除/启动adb



    从任务管理器杀死adb



    重新安装Eclipse



    重新安装Google的USB驱动程序



    按照< a href =https://stackoverflow.com/questions/19838016/google-failed-to-provide-usb-driver-for-the-nexus-5>此
    问题



    重新安装Android SDK



    更改USB端口




I看到与 Nexus 4 非常相似的帖子和 Nexus 7 ,但在尝试了这些解决方案中的所有内容后,我还没到任何地方。

解决方案

在执行Nevin Chen上述步骤之后,我无法相互理解,将系统升级到Windows 8.1。出于好奇,我再次试用usb调试,它第一次没有问题。从那以后,它一直在工作。



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



我很想知道有没有人通过系统还原或升级解决了这个问题。


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

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

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

0350b965215d9854               unauthorized

or

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

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!

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

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

On Nexus 5:

  • Booting in Safe mode

    Toggling/untoggling USB Debugging

    Revoking USB debugging authorization and reauthorizing

    Restarting the phone

    Allowing permissions on a one-time basis

On Windows 8:

  • Restarting the computer

    Restarting Eclipse

    Killing/starting adb from cmd

    Killing adb from task manager

    Reinstalling Eclipse

    Reinstalling google's USB drivers

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

    Reinstalling the Android SDK

    Changing USB Ports

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.

解决方案

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.

这篇关于Nexus 5(Kitkat 4.4)将不会授权我的Windows 8计算机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆