1.打开app使用adb查看包名
1
2.查找路径 adb shell pm path <包名>
adb shell pm path com.coloros.phonemanager
输出: package:/data/app/~~QIrJsi-JDlmuU9yP_2wZvA==/com.coloros.phonemanager-T2Prqvsi65c6qjCoMcL4bQ==/com.coloros.phonemanager_15011003.apk
3.导出apk到电脑 使用adb pull命令将APK文件导出到本地计算机: adb pull <路径>==<apk名称>
adb pull /data/app/~~QIrJsi-JDlmuU9yP_2wZvA==/com.coloros.phonemanager-T2Prqvsi65c6qjCoMcL4bQ==/com.coloros.phonemanager_15011003.apk
/data/app/~~QIrJsi-JDlmuU9yP_2wZvA==/com.coloros.phonemana...le pulled, 0 skipped. 35.0 MB/s (43351484 bytes in 1.182s)
C:\Users\feishi>
pull的时候去掉上面的 "package:"