A 15 year old girl saves 40 elementary school kids and that's why she is my hero!

Pushing Large Files to Android Using Eclipse Tip

10. March 2011 17:12 by Scott in   //  Tags: ,   //   Comments (0)

I was pushing large files to the Android Emulator lately.  We are talking above 100mbs a piece or more.  When I uploaded them in Eclipse, they would break and not upload about half way through.  It took me a few hours to keep trying till I got frustrated.

So I found a tool inside the Android SDK Folder under the platform tools folder.  Its call adb and it needs to be run with the command line.  This tool actually worked and I was able to watch it work via the Eclipse DDMS view.

So if you need to upload large files for any reason and eclipse is failing you, use the adb tool.


C:\Program Files (x86)\eclipse\android-sdk-windows\platform-tools>adb push C:\UsersAndroidCs2\Map.db /mnt/sdcard/mapdata/Cycle_Map.db

One Error I received before I found this tool:

[2011-03-10 16:10:17] Failed to push the items
[2011-03-10 16:10:17] (null)