Useful ADB Commands
adb install C:\package.apk – Installs the package located at C:\package.apk on your computer on your device.
adb uninstall package.name – Uninstalls the package with package.name from your device. For example, you’d use the name com.rovio.angrybirds to uninstall the Angry Birds app.
adb push C:\file /sdcard/file – Pushes a file from your computer to your device. For example, the command here pushes the file located at C:\file on your computer to /sdcard/file on your device
adb pull /sdcard/file C:\file – Pulls a file from your device to your computer – works like adb push, but in reverse.
adb logcat – View your Android device’s log. Can be useful for debugging apps.
adb shell – Gives you an interactive Linux command-line shell on your device.
adb shell command – Runs the specified shell command on your device.
Type adb -e install [path of the apk]. For example, adb –e install c:\app\apkinfo.apk. - Inta
ll app to a emulator.
浙公网安备 33010602011771号