用命令提取安卓手机里面的apk

执行命令:

$ adb shell pm list package

输出结果:

package:com.xiaomi.miui.screenrecorder

package:com.android.providers.telephony

package:com.miui.powerkeeper

package:com.android.providers.calendar

package:com.ximi.vipaccount

package:com.android.providers.media

package:com.milink.service

package:com.securespaces.android.sscm.service

package:com.ximi.account

package:com.game.play.gogogo

package:com.sohu.inputmethod.sogou

2)找到应用备份包的位置,比如要找com.game.play.gogogo

执行命令:

$ adb shell pm path com.game.play.gogogo

输出结果:

package:/data/app/com.game.play.gogogo-1/base.apk

3)提取安装包

执行命令:

$ adb pull /data/app/com.game.play.gogogo-1/base.apk

执行结果:

/data/app/com.game.play.gogogo-1/base.apk: 1 file pulled. 3.9 MB/s (57503627 bytes in 14.164s)

至此,提取成功,可以发送/复制到手机上进行安装了。

你可能感兴趣的:(用命令提取安卓手机里面的apk)