arang67
Super Active Member
- Messages
- 6,617
- Joined
- Apr 27, 2009
- Messages
- 6,617
- Reaction score
- 362
- Points
- 81
*Selepas "C:\android-sdk-windows\tools>" taip : adb install
pastu keluar menda ni..nape eh?
pastu keluar menda ni..nape eh?
Code:
is updated.
environmental variables:
ADB_TRACE - Print debug information. A comma separated
of the following values
1 or all, adb, sockets, packets, rwx, usb,
, sysdeps, transport, jdwp
ANDROID_SERIAL - The serial number to connect to. -s takes
ity over this if given.
ANDROID_LOG_TAGS - When used with the logcat option, only the
bug tags are printed.
C:\android-sdk-windows\tools>adb kill-server
* server not running *
C:\android-sdk-windows\tools>adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
C:\android-sdk-windows\tools>adb devices
List of devices attached
emulator-5554 device
C:\android-sdk-windows\tools>adb install
Android Debug Bridge version 1.0.31
-d - directs command to the only connected USB
e
returns an error if more than one USB devi
present.
-e - directs command to the only running emulat
returns an error if more than one emulator
unning.
-s <specific device> - directs command to the device or emulator
the given
serial number or qualifier. Overrides ANDR
ERIAL
environment variable.
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product
out directory like 'out/target/product/soo
If -p is not specified, the ANDROID_PRODUC
environment variable is used, which must
be an absolute path.
devices [-l] - list all connected devices
('-l' will also list device qualifiers)
connect <host>[:<port>] - connect to a device via TCP/IP
Port 5555 is used by default if no port nu
is specified.
disconnect [<host>[:<port>]] - disconnect from a TCP/IP device.
Port 5555 is used by default if no port nu
is specified.
Using this command with no additional argu
will disconnect from all connected TCP/IP
es.
device commands:
adb push <local> <remote> - copy file/dir to device
adb pull <remote> [<local>] - copy file/dir from device
adb sync [ <directory> ] - copy host->device only if changed
(-l means list but don't copy)
(see 'adb help all')
adb shell - run remote shell interactively
adb shell <command> - run remote shell command
adb emu <command> - run emulator console command