How to store files on the emulator?

Is it possible to store files in Android Emulator by default and without any commands?

+6
source share
6 answers

use adb shell method. Give this command

adb push filename.extension /your destination 

Hope this helps you.

+2
source

You can see PUSH and PULL buttom in the red circus below the image.

using PULL, you can pull the file from the device and using PUSH you can push the file to the device

enter image description here

+4
source
 adb push filename.extension /your storing location/ 

Port your adb from the command line. And give this command. This can be used to move files to the storage area of ​​the emulator.

+1
source

You can click the file on the SD card of the emulator. To do this, open DDMS, select the emulator inside the list of devices, then select "Device" in the main menu, select "Explorer". In the window that opens, select sdcard in the drop-down list and click the Push file icon on Device. Then you just need to select the file to click. Hope this helps.

0
source

Run the project β†’ goto DDMS β†’ Click on β€œExplorer” β†’ data β†’ data β†’ β€œyour package” β†’ click on the package, then β†’ click β†’ select the file β†’ ok β†’ restart the emulator β†’ show in the emulator

You can show it here:

enter image description here

0
source

If you have problems saving the file in the sdcard folder, for example. you only have read permissions, then try setting the size of the emulator sd card. In the eclipse: Folder window β†’ AVD Manager β†’ TestDevice (your emulator) β†’ Change ... β†’ SD card β†’ Size

0
source

Source: https://habr.com/ru/post/896945/


All Articles