adb 备份和还原apk应用数据

  • Post author:
  • Post category:其他
.版本 2

' 备份应用数据
adbCom = “adb pull /data/data/org.telegram.messenger/  C:\1”
' 备份apk数据
adbCom = “adb pull /data/app/org.telegram.messenger-1  C:\1.apk”
' 还原应用数据
adbCom = “adb -s   127.0.0.1:21503  push C:\1 /data/data/org.telegram.messenger/”
' 还原apk数据
adbCom = “adb -s   127.0.0.1:21503  push  C:\1.apk /data/app/org.telegram.messenger-1”
' 重启以后就能看到apk