Accessing device / emulator file system in Android Studio

I have a program that saves a .JSON file to an emulator or device that I have to debug my android studio program. I want to copy this file from the device but cannot find a way to do it.

I know it's easy enough in Eclipse, but can't seem to find a way to do this in Studio.

+4


source to share


4 answers


Android Studio 3.0 and higher

  1. Select the Device File Browser tab in the lower right corner of Android Studio.

enter image description here

  1. Choose your emulator.
  2. To copy a file from a device, locate the file in File Explorer and right-click it> Select Save As .
  3. To copy the file to your device, right-click the desired directory> Select Download .

For older versions of Android Studio



You can import / export files to / from the device.

  1. Select the " Devices " tab .

enter image description here

  1. Choose your emulator.
  2. To copy a file from your device, find it in File Explorer and click the Extract File button.
  3. To copy the file to your device, click the File button on the Explorer tab.

Link

+3


source


Open the android device monitor in android studio and a new poup window will open with a list of devices in the left pane, and in the right pane select the "explorer" tab and



Original post Here

0


source


Open Android Device Monitor from Android Studio from Icon or

Tools> Android> Android Device Monitor

then click on your running emulator, maybe

emulator-5554 or something

then click on file explorer .

0


source


In the latest version of Android Studio, if "Device File Explorer" is not visible, you can use View → Tool Window → Device File Explorer

0


source







All Articles