我花了几天时间尝试启动任何 Android 程序.甚至Hello World"也给了我同样的错误:
I've spent days trying to launch any Android program. Even "Hello World" gives me the same error:
与 adb 的连接已断开,出现严重错误".
"The connection to adb is down, and a severe error has occurred".
我在 Windows XP 机器上运行 Eclipse v3.5 (Galileo)、Google API 2.2.8.
I'm running Eclipse v3.5 (Galileo), Google APIs 2.2.8, on a Windows XP machine.
我已经使用了我在网上可以找到的所有技巧:命令行adb kill-server",DDMSreset ADB",我在 Eclipse 之前和之后都启动了模拟器,并搜索了正在使用的端口由其他程序.
I've used all the tricks I can find on the web: the command line "adb kill-server", the DDMS "reset ADB", I started the emulator both before and after Eclipse, and searched for ports being used by other programs.
这里发生了什么?是否有 Eclipse、Java、ADB、模拟器和其他任何可用版本的神奇组合?
What is going on here? Is there a magic combination of versions of Eclipse, Java, ADB, emulator, and whatever else that works?
试试下面的步骤:
adb kill-server(在发出这些命令之前应关闭 Eclipse)adb start-server这种方式对我有用.
同时重启你的手机!
这篇关于错误“与 adb 的连接已关闭,出现严重错误."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
使用 GPS 获取用户的当前位置Get user#39;s current location using GPS(使用 GPS 获取用户的当前位置)
requestLocationUpdate() 抛出的 IllegalArgumentExceptionIllegalArgumentException thrown by requestLocationUpdate()(requestLocationUpdate() 抛出的 IllegalArgumentException)
LocationManager 的 getLastKnownLocation 有多可靠,多久更How reliable is LocationManager#39;s getLastKnownLocation and how often is it updated?(LocationManager 的 getLastKnownLocation 有多可靠,多久更新
如何检测位置提供者?GPS 或网络提供商How to detect Location Provider ? GPS or Network Provider(如何检测位置提供者?GPS 或网络提供商)
在应用启动期间获取当前位置Get current location during app launch(在应用启动期间获取当前位置)
locationManager.getLastKnownLocation() 返回 nulllocationManager.getLastKnownLocation() return null(locationManager.getLastKnownLocation() 返回 null)