Android开发环境搭建时遇到问题的解决方法
2023-09-27 14:27:22 时间
版权声明:本文为博主原创文章。未经博主同意不得转载。 https://blog.csdn.net/linux_loajie/article/details/33823637
Android开发环境搭建时遇到问题的解决方法
错误1:
The connection to adb is down, and a severe error has occured.
[2013-08-31 16:11:56 -com.qihoo.subject] You must restart adb and Eclipse.
[2013-08-31 16:11:56 -com.qihoo.subject] You must restart adb and Eclipse.
[2013-08-31 16:11:56 - com.qihoo.subject] Please ensure that adb is correctly located at 'D:\Android环境搭建\adt-bundle-windows-x86-20130729\sdk\platform-tools\adb.exe'
and can be executed.
终于解决方式:
cmd中adb kill-server。然后adb start-server之后出现还有一个错误:adb server is out of date. killing...
解决方式:
adb nodaemon server 查看adb server的port号。
然后netstat -ano|findstr "5037" 查看该port相应的进程pid。
最后在任务管理器中结束该pid相应的进程。然后adb start-server
[2013-08-31 15:52:48 - Emulator] Failed to allocate memory:
8
然后netstat -ano|findstr "5037" 查看该port相应的进程pid。
最后在任务管理器中结束该pid相应的进程。然后adb start-server
![](http://blog.chinaunix.net/attachment/201308/31/26898698_1377937161Yzyq.jpg)
错误2:
[2013-08-31 15:52:48 - Emulator] Failed to allocate memory:
8
[2013-08-31 15:52:48 - Emulator]
[2013-08-31 15:52:48 - Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2013-08-31 15:52:48 - Emulator] Please contact the application's support team for more information.
终于解决方式:
新建了一个avd,使用了默认的配置
相关文章
- Android在未root手机获取应用内置的SQLite数据库到电脑上处理的方法(数据库备份与恢复-支持SDK30+)
- Android入门之ImageView的使用方法
- Android Studio 使用Log
- Android基础总结(三)SQLite,ListView,对话框
- 《精通Android 5 多媒体开发》——第6章,第6.2节分析硬件抽象层
- 《Android游戏开发详解》——第1章,第1.6节函数(在Java中称为“方法”更好)
- android.graphics.Paint方法setXfermode (Xfermode x...
- Android Studio导入第三方类库的方法
- Android 用ping的方法判断当前网络是否可用
- delphi android 录像(使用了JMediaRecorder,MediaRecorder的使用方法)
- Failed to resolve: com.android.support:appcompat-v7:27.+ 报错解决方法
- Android UUID.randomUUID()方法介绍
- android 单元测试
- android模拟器没有键盘的解决方法
- Android学习之设置焦点到对应控件、将光标移动到文字末尾的方法
- Unity 基础 之 连接 Android 手机 使用 Profiler 基于 2019.3.x
- Android开发面试题(一)