Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't add data to Android sdcard on the emulator

I can see the sd card in the file explorer with d--rwxr-x permission. When i tried adding any file to it it shows Failed to push the items. It is not adding even very small files.

Can you guys suggest how to fix this?

like image 549
Sushant Avatar asked Jul 29 '10 11:07

Sushant


2 Answers

This is how you push files to the SD Card. First copy the file you want to push to the tools directory [android-sdk-windows]/tools/. Open a command prompt and if you don't have the tools directory in your path you will need to cd [drive]:\android-sdk-windows\tools. Then you just type this:

adb push [filename] /sdcard/[filename]

If you want to put the file into a subdirectory of sdcard you have to create it... you can do that in the adb shell or on the device with a file manager.

like image 94
androidworkz Avatar answered Sep 18 '22 17:09

androidworkz


If you are working on Windows. This site is very useful deltafalcon.com.

like image 43
Dax Avatar answered Sep 18 '22 17:09

Dax