报错:
The connection to adb is down, and a severe error has occured.
[2010-03-11 09:36:56 - HelloOPone] You must restart adb and Eclipse.
[2010-03-11 09:36:56 - HelloOPone] Please ensure that adb is correctly located at 'D:\OPhoneSDK_1.5
\platform-tools\adb.exe' and can be executed.
解决:
方法1.cmd中adb kill-server,然后adb -startserver
方法2.方法1不管用,那么在任务管理器中杀死adb.exe,然后重启Eclipse。
方法3.方法1和2都不管用,那么查看最后一句报错中:platform-tools中是否有adb.exe
netstat -ano | findstr "5037"
tasklist|findstr ""
android_sdk_windows/tools/lib下的 plugin.prop文件里被变更为
# begin plugin.prop
plugin.version=22.3.0
# end plugin.prop
android -h
1、.android文件夹直接复制到系统提示的那个文件夹中的,然后就可以启动模拟器了。
(选择 VIRTUAL... 选择安卓机,DETAILS...path:就是这个路径。把.android文件夹COPY到C:\Documents and Settings\Administrator\)
不行就用第二个方法
2、我的电脑,属性,高级。环境变量。
新建系统环境变量,
名字:ANDROID_SDK_HOME
变量值:X:\
X为android文件夹所在
(文件夹放在根目录)
然后新建一个,就能开机了
The connection to adb is down, and a severe error has occured.
[2010-03-11 09:36:56 - HelloOPone] You must restart adb and Eclipse.
[2010-03-11 09:36:56 - HelloOPone] Please ensure that adb is correctly located at 'D:\OPhoneSDK_1.5
\platform-tools\adb.exe' and can be executed.
解决:
方法1.cmd中adb kill-server,然后adb -startserver
方法2.方法1不管用,那么在任务管理器中杀死adb.exe,然后重启Eclipse。
方法3.方法1和2都不管用,那么查看最后一句报错中:platform-tools中是否有adb.exe
netstat -ano | findstr "5037"
tasklist|findstr ""
android_sdk_windows/tools/lib下的 plugin.prop文件里被变更为
# begin plugin.prop
plugin.version=22.3.0
# end plugin.prop
android -h
1、.android文件夹直接复制到系统提示的那个文件夹中的,然后就可以启动模拟器了。
(选择 VIRTUAL... 选择安卓机,DETAILS...path:就是这个路径。把.android文件夹COPY到C:\Documents and Settings\Administrator\)
不行就用第二个方法
2、我的电脑,属性,高级。环境变量。
新建系统环境变量,
名字:ANDROID_SDK_HOME
变量值:X:\
X为android文件夹所在
(文件夹放在根目录)
然后新建一个,就能开机了