復(fù)制數(shù)據(jù)庫(kù)文件的步驟:
1.adb shell
2.su 獲取root權(quán)限
3.cd data/data/com.ares.app301/databases 進(jìn)入數(shù)據(jù)庫(kù)存儲(chǔ)目錄
4.chmod 644 301.db 修改系統(tǒng)文件的權(quán)限
5.exit 退出到windows命令行
6.adb pull data/data/com.ares.app301/databases/301.db d:\ ? 在windows命令行下執(zhí)行(不能在adb shell下面執(zhí)行)
push文件類(lèi)似
adb pull /storage/emulated/legacy/IserverDownload/deng.mp3 d:/
adb pull /storage/emulated/legacy/deng.mp3 d:/
/storage/sdcard0/IserverDownload/deng.mp3