Reputation: 12440
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
Reputation: 25945
In Visual Studio 2019 (Xamarin):
Upvotes: 1
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
Upvotes: 5
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)
Upvotes: 42
Reputation: 4204
In Android Studio, open the Device Manager: Tools -> Android -> Android Device Monitor
In Eclipse open the Device Manager:
In the device manager you can add files to the SD Card here:
Upvotes: 49
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
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