Ubuntu上导出APP的base.apk方法说明
1. 查看已安装的app包名列表
如果一直包名就略过此步。
可用 adb shell pm list package | grep sslvpn //过滤包名
hulk@hulk-ThinkCentre-M710t-N000:~/Desktop$ adb shell pm list package
package:android.framework.res.overlay.domestic
package:com.oplus.virtualcomm
.............................
package:com.oplus.virtualcomm
package:com.oppo.instant.local.service
package:com.oplus.videoeditor
2. adb shell pm path com.xxxx.xxx 查看已安装apk的base.apk路径
hulk@hulk-ThinkCentre-M710t-N000:~/Desktop$ adb shell pm path com.legendsec.sslvpn
package:/data/app/~~4IRa4U60G3LyFdqhhQgZ_g==/com.legendsec.sslvpn-0RBRNH2YU4Z_SLYUhBdj_Q==/base.apk
3. adb pull 拉出真实的base.apk
hulk@hulk-ThinkCentre-M710t-N000:~/Desktop$ adb pull /data/app/~~4IRa4U60G3LyFdqhhQgZ_g==/com.legendsec.sslvpn-0RBRNH2YU4Z_SLYUhBdj_Q==/base.apk . //导出到当前目录
/data/app/~~4IRa4U60G3LyFdqhhQgZ_g==/com.legendsec.sslvpn...e pulled, 0 skipped. 39.7 MB/s (14573673 bytes in 0.350s)
hulk@hulk-ThinkCentre-M710t-N000:~/Desktop$