RSS

[Tips for Android developer] Failed to copy file to system on AVD?

31 May

As Android Developer, if you use the following command like:

adb push [your_file] /system/..

and problem shown : “failed to copy file to /system/…”,

such as:

failed to copy ‘[your_file] ’ to ‘/system/…’: No space left on device
failed to copy ‘[your_file] ’ to ‘/system/…’: Out of memory

to resolve that problem, you can use this method :

Start your Emulator…not using Eclipse IDE or AVD Manager, but use the following command :

$emulator –avd [your_avd_name] –partition-size 128

Then you can try the command “adb push [your_file] /system/…”, and the problem solved. Now you can push your file to the system of android on Emulator😀

 
2 Comments

Posted by on May 31, 2011 in Android

 

Tags: , , , , , , , , , ,

2 responses to “[Tips for Android developer] Failed to copy file to system on AVD?

  1. macvoo

    June 7, 2013 at 12:32 am

    worked for me, thanks!
    what i would like to add, bc it was not obvious for me:
    execute
    emulator –avd [your_avd_name] –partition-size 128
    without the leading $ and from the folder of your emulator: for instance: C:\android\android-sdk-windows\tools

     
    • WdNk

      September 15, 2014 at 12:07 pm

      Wow, that’s great.🙂

       

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: