[Android] Set the Partition Size for Android Emulator
In the default setting for Android emulator, the system will reply a “out of memory” error when we want to install other package to the emulator.
Above picture shows the size of every partition. Look at the “/system” partition, the Free space is “0K”. So, it does not have any space for user to install other packages.
We can solve this problem by starting emulator with the “-partition-size” parameter. The command is showed in below,
$> emulator -partition-size 1024 -avd Android-4.0-Phone
After the emulator has been started, we look to the partition size.
Now, we can install other packages to the emulator.
Do you know of any way to do this when starting up through the AVD Manager (or better yet, in a hardware config file – like disk.systemPartition.size = 1024)? We're writing material for other developers: hate to have to make everyone run emulators from the command line (plus it leaves a dependent cmd window in Windows that, if killed, kills your emulator). I'd like to run from AVD Manager.
Please find out the post by this link. http://pickerwengs.blogspot.com/2012/01/android-how-to-set-partition-size-for.html
It may solve your problem.