前提:
安装adb,手机为root
1、adb logcat | grep START
08-04 15:57:52.009 1730 1912 I EventSequenceValidator: Transition from ACTIVITY_FINISHED to INTENT_STARTED
08-04 15:57:52.009 1730 7172 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.aligames.star.sgzhxdl.mi/org.cocos2dx.lua.AppActivity bnds=[334,1002][502,1170] (has extras)} from uid 10092
08-04 15:57:52.045 1730 1912 I EventSequenceValidator: Transition from INTENT_STARTED to ACTIVITY_LAUNCHED
08-04 15:57:52.337 13045 13045 I UtilsSDK: START:push --- limit:10 count:0 restore:0 startSerialNumber:2 restoreSerialNumber:0 registerSerialNumber:2
找到当前app包名(也可以用其他方法)
2、adb shell pm path com.aligames.star.sgzhxdl.mi
adb shell pm path 包名
查到包的具体路径
3、adb pull XXXX
当前为pull出手机app的方法之一,大家有更好的办法可以留下评论区,共同分享,手动抱拳