sindhu
sindhu

Reputation: 31

Android emulator error: 'Not enough memory in emulator'

I'm trying to install rsyncdroid app in my emulator using the following steps:

  1. $ ./adb push rsync /sdcard/rsync
  2. $ ./adb shell mount -o remount,rw /system
  3. $ ./adb shell "cat /sdcard/rsync > /system/bin/rsync"
  4. $ ./adb shell chmod 755 /system/bin/rsync
  5. $ ./adb shell mount -o remount,ro /system

I'm getting stuck on step 2, which results in the error:

cannot create /system/bin/rsync : not enough memory in emulator

Upvotes: 0

Views: 4122

Answers (2)

Dyonisos
Dyonisos

Reputation: 3549

The System partition of the standard avd's have not much free space. You can start the emulator on the command line, adding the following parameter:

-partition-size <size>

alternatively you can also declare the partition size in the command line options of your android run/debug configuration in eclipse.

enter image description here

Upvotes: 1

Brijesh Thakur
Brijesh Thakur

Reputation: 6778

Have you created new AVD ?? Use SDKManager to create new AVD. and assign 1000 MB to SDCard

Upvotes: 0

Related Questions