将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里必须都要有。
安卓小白,请指正,,,
出现的问题如下:
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里必须都要有。
安卓小白,请指正,,,
相关文章推荐
- 使用C++实现JNI接口需要注意的事项
- Android IPC进程间通讯机制
- Android Manifest 用法
- [转载]Activity中ConfigChanges属性的用法
- Android之获取手机上的图片和视频缩略图thumbnails
- Android之使用Http协议实现文件上传功能
- Android学习笔记(二九):嵌入浏览器
- android string.xml文件中的整型和string型代替
- i-jetty环境搭配与编译
- android之定时器AlarmManager
- android wifi 无线调试
- Android Native 绘图方法
- Android java 与 javascript互访(相互调用)的方法例子
- android 代码实现控件之间的间距
- android FragmentPagerAdapter的“标准”配置
- Android"解决"onTouch和onClick的冲突问题
- android:installLocation简析
- android searchView的关闭事件
- SourceProvider.getJniDirectories