"解析失败的“亚行版本'输出","亚洲开发银行的连接被中断,且发生与QUOT严重错误; [英] "Failed to parse the output of 'adb version'", "The connection to adb is down, and a severe error has occurred"

查看:235
本文介绍了"解析失败的“亚行版本'输出","亚洲开发银行的连接被中断,且发生与QUOT严重错误;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,我甚至不能得到的Hello World应用程序从Android教程。我想在我的Galaxy S4运行它。我的手机有USB调试启用,​​已禁用的应用程序的USB验证。我的Andr​​oid 4.2.2 SDK(API17)下载并安装,我目前使用Eclipse在Windows上使用ADT插件。

At the moment I can't even get the Hello World app from the Android tutorial to work. I'm trying to run it on my Galaxy S4. My phone has USB debugging enabled and has USB verification of apps disabled. I have Android 4.2.2 SDK (API17) downloaded and installed and am currently using Eclipse with the ADT plugin on Windows.

首先,它给出了无法解析的亚行版本的输出的错误信息,然后打印在控制台以下内容:

First it gives the "Failed to parse the output of 'adb version'" error message and then prints the following in the console:

[2013-06-12 23:02:50 - TestApp] ------------------------------
[2013-06-12 23:02:50 - TestApp] Android Launch!
[2013-06-12 23:02:50 - TestApp] The connection to adb is down, and a severe error has occured.
[2013-06-12 23:02:50 - TestApp] You must restart adb and Eclipse.
[2013-06-12 23:02:50 - TestApp] Please ensure that adb is correctly located at 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' and can be executed.

命令ADB设备同时显示我的手机和一个模拟器,并从模拟器中运行也不起作用。它甚至没有让我选择我要上运行什么设备,它只是提供了错误立即生效。

The command "adb devices" shows both my phone and an emulator, and running from the emulator doesn't work either. It doesn't even let me choose what device I want to run on, it just gives the error immediately.

我试过到目前为止:

重新启动我的电脑

亚行击杀服务器/启动服务器,并重新启动Eclipse

将任务管理器,结束adb.exe过程,然后重新启动Eclipse的

加入adb.exe为受信任/关闭防火墙

确信我安装了所有正确的驱动程序

卸载Eclipse和重新下载的ADT包

复制的SDK /平台的工具,SDK /工具的内容(我在另一个线程有人建议复制到SDK /工具看见,但我没有找到一个文件夹命名的,所以我创建了一个)

What I've tried so far:
restarting my computer
adb kill-server/start-server and restart Eclipse
going to Task Manager and ending the adb.exe process, then restarting Eclipse
adding adb.exe as trusted/closing firewall
made sure I installed all the correct drivers
uninstalled Eclipse and redownloaded the ADT bundle
copied the contents of sdk/platform-tools to sdk/tools (and I saw in another thread someone suggested copying to sdk/tool but I didn't find a folder named that so I created one)

在尝试的过程:
JDK更新为最新版本
采用Android工作室

in the process of trying: updating JDK to latest version using Android Studio

编辑:从网上下载 Android开发者网站的ADT包和我仍然得到与他们的Eclipse版本相同的问题。

edit: Downloaded the ADT bundle from the Android Developer site and I'm still getting the same issues with their version of eclipse.

推荐答案

正如我在评论说以上,我重新安装了ADT捆绑安装Android的工作室后,一切似乎是现在的工作很好。恐怕卸载的Andr​​oid工作室以防万一它是保持ADT工作的。不知道这是为什么,但它的另一个潜在的解决方案。

As I said in the comment above, I reinstalled the ADT Bundle after installing Android Studio and everything seems to be working fine now. I'm afraid of uninstalling Android Studio just in case something about it is keeping ADT working. Not sure why this is, but it's another potential solution.

这篇关于"解析失败的“亚行版本'输出","亚洲开发银行的连接被中断,且发生与QUOT严重错误;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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