android常见错误之“Failed to get the adb version: Cannot run program”
2015-01-08 11:10
274 查看
转自http://blog.sina.com.cn/s/blog_891e6bdc0100v5g7.html,帮了我大忙,谢谢原博主!
这两天写程序时发现打开eclipse后,出现“Failed to get the adb version: Cannot run program。。。”的报错提示,百度一下发现解决方案五花八门,经逐一尝试之后,竟然发现都是360惹的祸,坑爹的360啊。如果哪位童鞋也遇到类似问题,你也有可能被360坑了。当然也可能是其他杀毒软件,如果你没用360的话。
具体解决方案:
1.确保E:\Android\android-sdk\platform-tools(本人adb文件路径)目录下有adb.exe文件。
2.确保环境变量path中有“E:\Android\android-sdk\platform-tools”(注意变量之间有分号)
3.在前两条无误但任有报错的情况下,打开任务管理器关闭所有adb.exe(任务管理器中没有此项就算了),退出360(杀毒软件),重新打开eclipse。
4.在做完全部上述操作后,我的eclipse正常运行,不再报错。如果您的任然有问题,那我就不知道是怎么回事了。
这两天写程序时发现打开eclipse后,出现“Failed to get the adb version: Cannot run program。。。”的报错提示,百度一下发现解决方案五花八门,经逐一尝试之后,竟然发现都是360惹的祸,坑爹的360啊。如果哪位童鞋也遇到类似问题,你也有可能被360坑了。当然也可能是其他杀毒软件,如果你没用360的话。
具体解决方案:
1.确保E:\Android\android-sdk\platform-tools(本人adb文件路径)目录下有adb.exe文件。
2.确保环境变量path中有“E:\Android\android-sdk\platform-tools”(注意变量之间有分号)
3.在前两条无误但任有报错的情况下,打开任务管理器关闭所有adb.exe(任务管理器中没有此项就算了),退出360(杀毒软件),重新打开eclipse。
4.在做完全部上述操作后,我的eclipse正常运行,不再报错。如果您的任然有问题,那我就不知道是怎么回事了。
相关文章推荐
- Failed to get the adb version: Cannot run program "D:\..."的错误解决!
- HierarchyView运行错误:Failed to get the adb version: Cannot run program ”adb“: CreateProcess error=2
- Ubuntu 64位系统下 eclipse运行报错:Failed to get the adb version: Cannot run program
- 排除ADB报错:Failed to get adb version: Cannot run program "adb": CreateProcess error=2
- Failed to get the adb version: "/android-sdk/tools/adb"权限不够
- Android CTS - Cannot run program "aapt"/ Fail to run aapt on .../apk installed but AaptParser failed
- 【我的Android进阶之旅】解决SVN Cleanup错误: Failed to run the WC DB work queue associated with
- Android 之 解决SVN Cleanup错误: Failed to run the WC DB work queue associated ……
- 解决错误 'Cannot run program "/home/***/android-sdk-linux/platform-tools/adb": error=2
- eclipse Failed to get the adb version platform-tools/adb": java.io.IOException: error=1,权限不够
- ubuntu上Android项目首次运行失败,Error generating final archive: Failed to create key: Cannot run program
- 【常见错误】Android工程出现unable to get system library for the project异常问题
- 模拟器不能运行 Failed to start emulator: Cannot run program "/home/kroaity/Downloads/android-sdk-linux//tools/emulator": error=2
- 解决error launching remote program failed to get the task for process
- ios在真机上调试时出现“Error launching remote program: failed to get the task for process xxx"解决办法(转)
- 【xcode】错误之Could not launch "" failed to get the task for process
- Error launching remote program: failed to get the task for process 10722.The解决方法
- 添加脚本真机调试Error launching remote program: failed to get the task for process xxx.
- Error launching remote program: failed to get the task for process
- 真机调试Error launching remote program: failed to get the task for process xxx.