android编程中遇到Please ensure that adb is correctly located at ***and can be executed.错误的原因及解决办法
来源:互联网 发布:医疗器械软件注册范例 编辑:程序博客网 时间:2024/06/08 05:28
出现的错误:
Please ensure that adb is correctly located at 'D:\AndroidSDK\android-sdk_r18-windows\android-sdk-windows\platform-tools\adb.exe' and can be executed.
请确保adb正确地放在如下路径:
D:\AndroidSDK\android-sdk_r18-windows\android-sdk-windows\platform-tools\adb.exe'
错误原因:
关于错误的原因具体来说现在我还不是很清楚,因为我的环境配置好并且使用了差不多一年半了,但是今天写了一个软件在真机上面测试,但是当运行的时候却在Eclipse的Console中出现了这样的错误提示。我觉得可能是Eclipse的原因,因此我就重启了Eclipse,但是不行,我想可能是手机与电脑没有连接好,就断开手机与电脑连接,但是还是不行,我又重启了手机和Eclipse几次,但是还是不行。
我看它提示adb是否放在了'D:\AndroidSDK\android-sdk_r18-windows\android-sdk-windows\platform-tools\adb.exe' ,我发现adb的确在这个路径下。
我觉得其他地方也没有什么错误,并且adb也在这个路径下,可能是adb没有启动的原因吧,我就双击了一下adb.exe,让它启动了,然后我就试着运行了一下所写的那个软件,结果这个错误提示没有再次出现,并且程序运行成功了。
解决办法:
如果那个adb.exe真的在Eclipse的Console中提示的那个路径下,并且Eclipse及手机和电脑也连接也没有什么问题,就双击一下那个adb.exe,让它启动,然后看你的程序能不能运行。
- android编程中遇到Please ensure that adb is correctly located at ***and can be executed.错误的原因及解决办法
- Android error:Please ensure that adb is correctly located at '...\adb.exe' and can be executed.
- Please ensure that adb is correctly located at '...adb.exe' and can be executed.
- Please ensure that adb is correctly located at adb.exe and can be executed.
- 解决Please ensure that adb is correctly located at '\sdk\platform-tools\adb.exe' and can be executed错误
- 解决Please ensure that adb is correctly located at '\sdk\platform-tools\adb.exe' and can be executed错误
- Please ensure that adb is correctly located at .... and can be executed
- android 开发时出现 Please ensure that adb is correctly located at '...\adb.exe' and can be executed
- android 开发时出现 Please ensure that adb is correctly located at '...\adb.exe' and can be executed
- android 开发时出现 Please ensure that adb is correctly located at '...\adb.exe' and can be executed
- Please ensure that adb is correctly located at '<--此处显示adb.exe的全路径-->' and can be executed.
- 关于Please ensure that adb is correctly located at '<--此处显示adb.exe的全路径-->' and can be executed.
- 经常遇到Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be
- Eclipse报错 Please ensure that adb is correctly located at '.\adb.exe' and can be
- Please ensure that adb is correctly located at '\sdk\platform-tools\adb.exe' and can be
- 错误:Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be e
- Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be execu
- 解决Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be exe
- 2013腾讯编程马拉松复赛第二场部分题解
- MySQL 5.5安装和配置
- 我读《写给大家看的设计书》
- 图片自适应大小
- Eclipse快捷键(更新)
- android编程中遇到Please ensure that adb is correctly located at ***and can be executed.错误的原因及解决办法
- C++基础面试题
- 用jdbc.properties文件连接数据库
- 数字黑洞:任意一个5位数,比如:34256,把它的各位数字打乱,重新排列,可以得到 * 一个最大的数:65432,一个最小的数23456。
- Java I/O
- ant编译乱码问题
- 【hadoop】用户自定义计数器
- 羊皮卷之二 我要用全身心的爱来迎接今天
- solr3.6.1下demo之hsqldb运行