Can't change the Ram size in AVD manager android studio

Viewed 33484

I'm not able to change the ram size in the memory and storage section of the AVD manager in the android studio. I wanted the emulator to run a little faster (I have 8GB RAM). The controls are completely gray out.

Here is the screenshot

8 Answers

If you create an AVD with "Recommended" system image then you can't change the "Memory and Storage" parameters neither when you create AVD nor when you edit your AVD.

enter image description here

Solution:

You should select your "Image" from "x86 Images" tab and then change "Memory and Storage" parameters in the next page.

Look for your avd folder, then look for the folder of the image you want to change and edit the config.ini. change the value of

hw.ramSize

Here is a solution for Android 4.1 that worked for me.

  1. Create AVD as usual over AVD Manager
  2. Open location on the disk where AVD data is saved enter image description here
  1. open the config file that is there over the notepad. Inside should be a line that starts with the hw.ramSize line. There you should change the number of MB you want. Save changes, close file.
  2. In Android Studio click File > Reload All from Disk
  3. If you select View Details you should see there that ram size is changed now.

I hope it will help.

You can do so by editing the config.ini file of the int the avd settings look for this

>hw.ramSize

Editing is disabled,but you can create a new virtual device by using Clone Device.. option.Once installation of OS is complete, edit the RAM again in Advanced Settings before clicking Finish.

Further adding to the answer by Fresher, it seems that even x86 images don't work(atleast its the case with my mac OS). Here is the screenshot: enter image description here

Advanced Settings: enter image description here

What worked for me: I just used "Clone Device" in Hardware selection wizard(the first one that opens after you click on the "AVD manager" enter image description here Then setup your ram here: enter image description here Once you hit "Finish", you will see your cloned device appear in the hardware selection wizard like this: enter image description here

Then go ahead as usual.

Related