Essential adb Command Examples

Copy file to your Android device from your computer
adb push    - copy file/dir to device
example: adb push c:\mygame.apk /sdcard

Copy file from your Android device to your computer
adb pull    - copy file/dir from device
example: adb pull /sdcard/mymovie.avi c:\downloads

Install app from your computer to your Android device
adb install [-r] [-s] - push this package file to the device and install it
                                 ('-r' means reinstall the app, keeping its data)
                                 ('-s' means install on SD card instead of internal storage)
example: adb install c:\mygame.apk

Uninstall an app from your Android device
adb uninstall [-k] - remove this app package from the device

                                 ('-k' means keep the data and cache directories)
example: adb uninstall com.example.mygame

Comments

  1. This comment has been removed by a blog administrator.

    ReplyDelete

Post a Comment

Comments are moderated. No spam please.

Popular posts from this blog

Perm Root HTC Desire Gingerbread 2.3.3

[Solved] invalid partition table on /dev/sda -- wrong signature 0.