How to access data/data folder in Android device?

后端 未结 18 2159
南方客
南方客 2020-11-22 15:36

I am developing an app and I know my database *.db will appear in data/data/com.****.***

I can access this file from AVD in Eclipse with he

18条回答
  •  感动是毒
    2020-11-22 16:24

    To backup from Android to Desktop

    Open command line cmd and run this: adb backup -f C:\Intel\xxx.ab -noapk your.app.package. Do not enter password and click on Backup my data. Make sure not to save on drive C root. You may be denied. This is why I saved on C:\Intel.

    To extract the *.ab file

    1. Go here and download: https://sourceforge.net/projects/adbextractor/
    2. Extract the downloaded file and navigate to folder where you extracted.
    3. run this with your own file names: java -jar abe.jar unpack c:\Intel\xxx.ab c:\Intel\xxx.tar

提交回复
热议问题