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

android tools工具下常用命令

2013-08-03 20:10 495 查看
Microsoft Windows [版本 6.1.7601]

版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Users\Administrator>cd D:\android-sdk-windows\tools

C:\Users\Administrator>d:

D:\android-sdk-windows\tools>android

终止批处理操作吗(Y/N)? y

D:\android-sdk-windows\tools>android list avds

Available Android Virtual Devices:

Name: testvd

Path: C:\Users\Administrator\.android\avd\testvd.avd

Target: Android 2.2 (API level 8)

ABI: armeabi

Skin: WVGA800

Sdcard: 400M

D:\android-sdk-windows\tools>andriod list targets

'andriod' 不是内部或外部命令,也不是可运行的程序

或批处理文件。

D:\android-sdk-windows\tools>andrioid list targets

'andrioid' 不是内部或外部命令,也不是可运行的程序

或批处理文件。

D:\android-sdk-windows\tools>android list targets

Available Android targets:

----------

id: 1 or "android-7"

Name: Android 2.1

Type: Platform

API level: 7

Revision: 3

Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854

ABIs : armeabi

----------

id: 2 or "android-7"

Name: Android 2.1

Type: Platform

API level: 7

Revision: 3

Skins:

ABIs : no ABIs.

----------

id: 3 or "android-8"

Name: Android 2.2

Type: Platform

API level: 8

Revision: 3

Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854

ABIs : armeabi

----------

id: 4 or "android-10"

Name: Android 2.3.3

Type: Platform

API level: 10

Revision: 2

Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854

ABIs : armeabi

----------

id: 5 or "android-12"

Name: Android 3.1

Type: Platform

API level: 12

Revision: 3

Skins: WXGA (default)

ABIs : armeabi

----------

id: 6 or "android-14"

Name: Android 4.0

Type: Platform

API level: 14

Revision: 3

Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA85

XGA720, WXGA800

ABIs : armeabi-v7a

D:\android-sdk-windows\tools>adb devices

adb server is out of date. killing...

* daemon started successfully *

List of devices attached

emulator-5554 device

D:\android-sdk-windows\tools>adb shell

# ls

ls

config

cache

sdcard

acct

mnt

d

etc

system

sys

sbin

proc

init.rc

init.goldfish.rc

init

default.prop

data

root

dev

# ^C

D:\android-sdk-windows\tools>adb install D:/MyWhois.apk

66 KB/s (15884 bytes in 0.234s)

pkg: /data/local/tmp/MyWhois.apk

Success

D:\android-sdk-windows\tools>^A
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: