Tips for Android developer: failed to copy file to system
As android developer, if you use the following command like:
adb push file /system/..
and meet problems like “failed to copy file to /system/…”, such as:
failed to copy ‘file’ to ‘/system/…’: No space left on device
failed to copy ‘file’ to ‘/system/…’: Out of memory
The resolve method is not using the Eclipse or AVD Manager to start the Android emulator, but by use the command first:
$emulator –avd youravdname –partition-size 128
Then you can try the command “adb push file /system/…”, and the problem maybe resolved.
Related Android Apps:
- Tips for Android developer: “Conversion to Dalvik format failed: Unable to execute dex: null”
- Tips for Android developer: Android emulator appearance standard
- Tips for Android developer: SQLite Database
- Tips for Android developer: install & uninstall Android applications
- Tips for Android developer: Logcat
- Tips for Android developer: Android SDK tools PATH setting
- Tips for Android developer: Project contains errors
- Tips for Android developer: An SDK Target must be specified
- Tips for Android developer: Android source code
- Open Source Android Apps for Developers: OI File Manager

Yes thats work fine.. Thank you
[Reply]
failed to copy ‘file’ to ‘/system/…’: Out of memory
The resolve method is not using the Eclipse or AVD Manager to start the Android emulator, but by use the command first:
$emulator –avd youravdname –partition-size 128
Then you can try the command “adb push file /system/…”, and the problem maybe resolved.
Above step did not work!! any other way out???
[Reply]
But this method is only for emulator, not for real phone.
So, could you help me to resolve this problem in HTC G7.
Thank you very much!
[Reply]
Thanks,
This definetely helped me save the file to /system/xbin folder for which I was trying from long.
Thanks a lot.
[Reply]