poeschlorn
poeschlorn

Reputation: 12440

Manually put files to Android emulator SD card

I'm just having trouble with getting my emulator SD card work... I created a new AVD device with a new SD card.

So how to put data onto it? I found the "correct" file to be mounted on Daemon tools, but is corrupt or simply not readable...

It would be great if you have any idea :)

Upvotes: 146

Views: 186943

Answers (6)

silkfire
silkfire

Reputation: 25945

In Visual Studio 2019 (Xamarin):

  1. Click on the Device Monitor (DDMS) button.

enter image description here

  1. Go to the File Explorer tab and click the button with a phone and a right-pointing arrow on top of it.

enter image description here

Upvotes: 1

Jitendra Sawant
Jitendra Sawant

Reputation: 698

I am using Android Studio 3.3.

Go to View -> Tools Window -> Device File Explorer. Or you can find it on the Bottom Right corner of the Android Studio.

If the Emulator is running, the Device File Explorer will display the File structure on Emulator Storage.

Here you can right click on a Folder and select "Upload" to place the file

enter image description here

Upvotes: 5

johnml1135
johnml1135

Reputation: 4957

One easy way is to drag and drop. It will copy files to /sdcard/Download. You can copy whole folders or multiple files. Make sure that "Enable Clipboard Sharing" is enabled. (under ...->Settings)enter image description here

Upvotes: 42

Kirtikumar A.
Kirtikumar A.

Reputation: 4204

In Android Studio, open the Device Manager: Tools -> Android -> Android Device Monitor

In Eclipse open the Device Manager: enter image description here

In the device manager you can add files to the SD Card here: enter image description here

Upvotes: 49

olafure
olafure

Reputation: 3597

Use the adb tool that comes with the SDK.

adb push myDirectory /sdcard/targetDir

If you only specify /sdcard/ (with the trailing slash) as destination, then the CONTENTS of myDirectory will end up in the root of /sdcard.

Upvotes: 107

Janusz
Janusz

Reputation: 189474

If you are using Eclipse you can move files to and from the SD Card through the Android Perspective (it is called DDMS in Eclipse). Just select the Emulator in the left part of the screen and then choose the File Explorer tab. Above the list with your files should be two symbols, one with an arrow pointing at a phone, clicking this will allow you to choose a file to move to phone memory.

Upvotes: 131

Related Questions