android,emulator/logcat工具
来源:百度文库 编辑:神马文学网 时间:2024/04/28 16:48:06
Android SDK工具参考项目,它们给了你一些命令行选项,可以在Android模拟器和Android调试桥中使用。
Android模拟器命令
下表包含了大多数常规的Android模拟器命令.
Emulator Command 模拟器命令 功能
emulator -console Enables the console shell on the current terminal
在当前终端上激活控制台外壳
emulator -data
使用一个不同的文件作为工作用户数据磁盘镜像
emulator -debug-kernel Sends kernel output to the console
发送核心输出到控制台
emulator -flash-keys Flashes keypresses on the device skin
在设备皮肤上闪烁keypress
emulator -help Prints a list of all Emulator commands
列出模拟器列表
emulator -http-proxy
emulator -image
emulator -kernel
emulator -logcat
用指定的标签激活logcat输出
emulator -mic
使用设备或者WAV文件作为音频输入
emulator -netdelay
(The
The
可以使用的
● Gprs
● Edge
● Umts
● None
●
●
emulator -netfast Shortcut for -netspeed full -netdelay
none
emulator -netspeed
experienced on specific types of networks.) The
● Gsm
● Hscsd
● Gprs
● Edge
● Umts
● Hsdpa
● Full
●
●
emulator -noaudio Disables Android audio support废除Android音频支持
emulator -nojni Disables JNI checks in the Dalvik virtual machine在Dalvik virtual machine中废除JNI检查
emulator -noskin Specifies not to use any Emulator skin
定义为不使用任何模拟器皮肤
emulator -onion
在屏幕上使用覆盖图像
emulator -onion-alpha
emulator -qemu Passes arguments to QEMU
传递参数到QEMU
emulator -qemu -h Displays QEMU help
显示QEMU帮助
emulator -radio
emulator -ramdisk
as the ramdisk image作为ramdisk镜像
emulator -raw-keys Disables Unicode keyboard reverse mapping禁用Unicode键盘转换映射
emulator -sdcard
as the SD Memory Card image作为SD内存卡镜像
emulator -skin
● HVGA-L 480x320, landscape
● HVGA-P 320x480, portrait (default)
● QVGA-L 320x240, landscape
● QVGA-P 240x320, portrait
emulator -skindir
在
emulator -system
在
emulator -trace
Enables code profiling (press F9 to start), written to a specified file
启动代码分析(按F9启动),写入一个定义的文件
emulator -useaudio
Enables Android audio support启动Android音频支持
emulator -verbose
Enables verbose output激活冗长的输出
emulator -verbose-keys
Enables verbose keypress messages激活冗长的的按键信息
emulator -verbose-proxy
Enables verbose proxy debug messages激活冗长的的代理调试信息
emulator -wipe-data Deletes all data on the user-data disk image在用户数据磁盘镜像中删除所有数据(开始前参见emulator - data
(see emulator –data
starting
Android调试桥命令
下面的是gsm命令。通过连接到Android模拟器的终端控制台使用。如果你不了解端口终端控制台,它是一个比调试端口少的端口。执行adb来获得活动的设备列表和相关的端口号。
adb Bugreport Prints dumpsys, dumpstate, and logcat data to the screen, for the purposes of bug reporting
为故障报告在屏幕上打印dumpsys,dumpstate和logcat数据
adb call
adb cancel
adb -d {
允许你指引一个adb命令到一个定义的模拟器/设备示例中,通过它的赋值adb ID或者序列号来引用
adb data
connection to
adb Devices Prints a list of all attached mulator/device
instances
打印所附模拟器列表/设备示例
adb forward
在模拟器/设备示例中从一个定义的本来端口转递socket连接到一个定义的远程端口
adb get-serialno Prints the adb instance identifier string
打印adb示例标识符字符串
adb get-state Prints the adb state of an emulator/device instance
打印一个模拟器/设备示例的adb状态
adb help Prints a list of supported adb commands
打印支持的adb命令列表
adb install
推入Android应用程序(作为一个完整路径一个.apk文件)到模拟器/设备示例
adb jdwp Prints a list of available JDWP processes on a given device
在指定的设备上列出可用的JDWP进程
adb kill-server Terminates the adb server process
终止adb服务器进程
adb logcat [
android,emulator/logcat工具
使用gdb在Android?Emulator中进行调试 - Android中文网
实用Android开发工具和资源精选
Google Android 手机上的服务器系统运维工具
Android SDK中 tools 目录下的工具介绍
实用Android开发工具和资源精选 | 一丁点
谷歌推新工具 谁都能开发Android应用_APP Inventor Andriod 报道_开发工具_eNet硅谷动力商用软件频道
Native C++ "Hello World" working in emulator
android - Build Android Platform
Android G1
android 概述
Android操作系统
Android 简史
android 博客
Android操作系统
Android 简史
android makefile(android.mk)分析
Windows CE 4.x Emulator winxp&sp2问题,解决方法
解决Virtual pc/windows CE emulator警告问题
解决Virtual pc/windows CE emulator警告问题
Windows Mobile 6 SDK 中的 Cellular Emulator - 黎...
工具)
Android apk 学习笔记 --- Android apk fundamental ...
Android开发包下载 | Android开发网