我在Android上做了一些事情,它需要我在adb中推送一些文件。起初,我在adb中推送了一个文件,工作正常,但后来当我尝试在adb中推送其他文件时,它开始给我一个设备未找到错误。我尝试在cmd和Task Manager中终止进程,但是没有任何帮助,但是在终止服务器并再次启动它之后,守护进程成功地加载到端口5037。虽然到目前为止,我的项目运行良好,SD卡也如我所期望的那样被读取,但我被挂起了,因为SD卡中无法上传其他文件。:/
提前谢谢。
发布于 2014-07-27 11:41:21
我的Nexus4就发生了这种情况。
我一直在关注
http://developer.android.com/training/basics/firstapp/running-app.html
我注意到
C:\trythisworkspace>adb install bin\MyApp-debug.apk
error: device not found
error: device not found
error: device not found
- waiting for device -
^C
C:\trythisworkspace>和
C:\trythisworkspace>adb devices
List of devices attached
C:\trythisworkspace>这些都是你的一些症状
转到设备管理器,看看您是否像我一样有一个黄色感叹号
在此处下载google驱动程序并将其解压缩
http://developer.android.com/sdk/win-usb.html
然后转到带有黄色感叹号和属性的设备,并更新驱动程序and...browse。把它指向google_usb_driver\usb_driver。
然后它检测到它,我的设备管理器显示"Android复合ADB界面“。
顺便说一句,Android SDK管理器有一个安装google usb驱动程序的选项。有可能会把它们放在%userprofile%\AppData\Local\Android\android-sdk\extras\google\usb_driver中
如果您发现有该目录,可以尝试将设备管理器指向该目录。
https://stackoverflow.com/questions/12689116
复制相似问题