adb shell获取package信息

作者: GTA | 来源:发表于2017-09-20 14:36 被阅读0次

copy apk from device:

https://stackoverflow.com/questions/4032960/how-do-i-get-an-apk-file-from-an-android-device

# to obtain apk path

adb shell pm list packages

adb shell pm path com.example.someapp

# or just

adb shell list pacakges -f

# pull to PC

adb pull /path/to/app

# or

adb shell cp /path/to/app /sdcard/myapp.apk

adb pull /sdcard/myapp.apk


get launcheable activity:

aapt dump badging /path/to/apk

# or

adb shell dumpsys package com.excample.packagename


相关文章

网友评论

    本文标题:adb shell获取package信息

    本文链接:https://www.haomeiwen.com/subject/kukosxtx.html