1.显示系统中全部Android平台:androidlisttargets2.显示系统中全部AVD(模拟器):androidlistavd3.创建AVD(模拟器):androidcreateavd--name名称--target平台编号4.启动模拟器:emulator-avd名称-sdcard~/名称.img(-skin1280x800)5.删除AVD(模拟器):androiddeleteavd--n..
分类:
移动开发 时间:
2015-04-14 19:55:17
阅读次数:
226
弱网测试一般是指模拟在网络环境比较差的情况下,检测APP是否有异常,如崩溃,数据收发出现丢包的情况一、首先需要控制网络,有两种方式其一使用网络损伤仪进行,其二采用软件方式。硬件采购费用太贵,因此使用win平台下的ShunraVESMBEditon或者Network Emulator for Wind...
分类:
其他好文 时间:
2015-04-14 19:33:12
阅读次数:
499
目前网上教程如下三条: 1. 通过emulator -avd avdName -partition-size size启动模拟器 2.通过adb root 和 adb remount 命令获得root权限。 3.通过 adb pull /system/etc/hosts 命令将hosts文件转移到PC上,手动...
分类:
移动开发 时间:
2015-04-14 11:23:11
阅读次数:
165
很多时候遇到这样的情况,代码制作完成以后,想在模拟器上进行调试,于是Run as Android application,郁闷的是logcat中不显示任何内容
解决办法:
1.最直接的办法关闭Eclipse,重启
2.打开DDMS视图,在左侧“Devices”点击模拟器的名称"emulator-5554",logcat就会显示出消失的log日志
操作步骤:
...
分类:
移动开发 时间:
2015-04-13 18:53:48
阅读次数:
383
启动模拟器报错:emulator: ERROR: x86 emulation currently requires hardware acceleration! Please ensure Intel HAXM is properly installed and usable. CPU acceleration status: HAX kernel module is not...
分类:
其他好文 时间:
2015-04-09 15:42:36
阅读次数:
161
首先使用adb devices查看所有的设备,然后在adb 后面添加“-s 设备名”来使用adb命令,如:
adb -s MSM8125QE988 install xxx.apk...
分类:
数据库 时间:
2015-04-09 15:28:22
阅读次数:
238
1.adb就是android的调试桥:用来连接Windows服务和安卓的操作系统,adb所在的目录是sdk-plaform-tools3.adb devices 显示设备列表adb shell 进入当前linux操作系统adb install XX.apk 安装apkadb emulator-avd...
分类:
数据库 时间:
2015-04-03 22:20:26
阅读次数:
158
过程中,增大对应AVD的内存为2G后,结果无法启动AVD了:[2012-12-18 18:01:38 – Emulator] Failed to allocate memory: 8[2012-12-18 18:01:38 – Emulator][2012-12-18 18:01:38 – Emul...
分类:
移动开发 时间:
2015-03-29 10:44:21
阅读次数:
193
This problem has been bothering me for a bit and I cannot find a satisfactory solution.
Many times (not always) in the creation of a specific object on the Android emulator I get NoClassDefFoundErr...
分类:
移动开发 时间:
2015-03-19 20:27:38
阅读次数:
365
1.打开两个模拟器:
在命令行中定位到SDk的tools下面,输入emulator -data foo 启动两个模拟器。
2.确定其中一个作为服务器:
需要让android模拟器作为服务器之前检测两个模拟器是否正常其命令语句:adb devices 之后在把其中一个设置为服务器。其命令行语句为:telnet localhost +模拟器的名称例如:telnet localhost 5554 :中的“5554”即为模拟器的名称。显示“OK”之后继续执行一下语句:redir add tcp:8...
分类:
移动开发 时间:
2015-03-17 15:52:04
阅读次数:
164