首页 > 代码库 > ADB command

ADB command

1. show all app
$ adb shell pm list packages -f

2. install
adb install *.apk
adb install -r *.apk

3.show all package
adb shell pm list packages

4. find apk path
adb shell pm path com.example.someapp
like this: package:/data/app/com.example.someapp-2.apk

5. copy apk from phone
adb pull /data/app/com.example.someapp-2.apk
apk target path is cmd current path

6. view sign
jarsigner -verify app_signed.apk
jarsigner -verify -verbose -certs app_signed.apk
http://blog.csdn.net/tangmin0719/article/details/8916417

ADB command