您的位置:首页 > 移动开发 > Android开发

将apk文件安装到模拟器

2015-10-22 20:12 399 查看
在将apk 文件安装到模拟器上时,我出现了几个问题。

出现的问题如下:

DDMS files not found: *\sdk\platform-tools\hprof-conv.exe

 The connection to adb is down, and a severe error has occured.
 You must restart adb and Eclipse.
 Please ensure that adb is correctly located at 'D:\InstallFile\AndroidDevelop\ADT\sdk\platform-tools\adb.exe' and can be executed.

这是console里面出现的情况,然后adb kill-server,start-server都不好使,重启eclipse也不行,,,
最后看到了一篇博文,http://blog.163.com/wslngcjsdxdr@126/blog/static/162196230201463183250131/

但不知道是我的版本太新还是什么情况,上面的博客是一年前的,博文中说到,sdk-tools 里面的东西可以拷贝到 sdk-platform-tool里面,我的正好相反,是API Level 17 的安卓版本,

上截图,最后的状态是这样的时候,就正常运行了





总结就是:adb.exe, 和 hyprof-conv.exe,  在tools 和platform-tools里必须都要有。

安卓小白,请指正,,,


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  android 安装 模拟器