Files can be copied from/to android device emulator in two ways. One is from Eclipse and the other is from the command prompt. I prefer using Eclipse, since it is easy and provides a good UI to copy files.
1) In Eclipse
- Go to Debug mode when the Emulator is running ( Debug button is available at the top right corner of the Eclipse Window )
- Select Window --> Show View --> Other --> Android --> File Explorer
| File Explorer View in Eclipse |
| Pull | Push |
- Now Select sdcard and copy required files by pressing Push Button
- Or Select the required file from SD Card and press Pull Button to save them on local system
To copy files using command prompt, follow the guide given by Google
http://developer.android.com/guide/developing/tools/adb.html#copyfiles
http://developer.android.com/guide/developing/tools/adb.html#copyfiles
[2013-03-23 12:12:13 - DDMS] DDMS files not found: C:\Users\Tariff Olabi\Desktop\adt-bundle-windows\sdk\platform-tools\adb.exe C:\Users\Tariff Olabi\Desktop\adt-bundle-windows\sdk\tools\hprof-conv.exe C:\Users\Tariff Olabi\Desktop\adt-bundle-windows\sdk\tools\traceview.bat
ReplyDelete؟؟؟؟؟؟
after that i try more and get
ReplyDelete[2013-03-23 12:37:45 - ddms] transfer error: Invalid argument
[2013-03-23 12:37:45] Failed to push selection: Invalid argument
the file explorer is empty. why is that? where did i go wrong?
ReplyDelete