SoFunction
Updated on 2025-04-09

How to enter the device background data folder

As we all know, when we are developing Android projects, when it comes to data storage, that is, data interaction, we need to store data in the data folder of the virtual device. I have learned in related books how to upload files to the device, as mentioned above, the audio and video files that need to be uploaded to the device in the mp3 and mp4 players. The method is as follows: C:> adb push c:codesamplevideo.mp4 /data/samplevideo.mp4
Today I accidentally learned about how to enter the background of the device again online, hoping it will be helpful to everyone.

You can use the adb shell to enter the device background and create it manually through the command line. The steps are as follows:

After starting the emulator in Eclipse, enter the Linux console under cmd

D:>adb shell

Then enter the application data directory

# cd /data/data

ls list directory, view the file, find your project directory and enter