Android Emulator RAM not extending for Google Play API 27

2k Views Asked by At

When I make create a Virtual Android Device on Android Emulator with Google Play API 27, it does not allow me to give a custom amount of RAM size. Instead it takes a default 1536 MB RAM and 800 MB of Internal Storage. I don't understand why....

This is a Screenshot which shows the options are disabled

3

There are 3 best solutions below

1
Fotis NoLimits On

I expirienced some problems with the Android Virtual Device (loading times) and I started using Genymotion. I suggest you to do so. It is easy to use and full compatible with Android Studio.

1
krishank Tripathi On

As per the update for Oreo 8.1 there might be a restrictions due the feature of Android Oreo (Go edition)

Features in the Android Oreo (Go edition) configuration include:

Memory optimizations. Improved memory usage across the platform to ensure that apps can run efficiently on devices with 1GB or less RAM.

Flexible targeting options. New hardware feature constants to let you target the distribution of your apps to normal or low-RAM devices through Google Play.

Google Play.While all apps will be available on devices running Android Oreo (Go edition), Google Play will give visibility to apps specifically optimized by developers to provide a great experience for billions of people with the building for billions guidelines.

this might be restricting the emulator to choose the best optimal option to run app on your virtual device.

0
Roy Ammerschuber On

I solved this issue by changing the value in the config file. In the list of virtual devices (in android studio) click on the arrow on the right side of your device and click on "Show on Disk".

In the folder should be a config.ini file, open it and change hw.ramSize=1536 to Example: hw.ramSize=4092