Android emulator always with 533 MB of internal memory

In Eclipse, I created an Android emulator.

I installed 2000 MB as the internal storage using the configurator, but I started the emulator and looked at the properties of the storage. I always see 533 MB as a shared space.

I tried adding -partition-size 1024 , but the total space is still 533 MB.

My application downloads data from a JSON source and requires at least 600 MB, but I cannot understand why the emulator is not using my configuration.

Any suggestion?

+5
source share
1 answer

Finally, I was able to solve the problem.

Since the size of the sd card was correctly set to 1 GB, according to my settings, I just copied the sdcard.img file and renamed it to userdata.img and userdata-qemu.img (in the avd folder):

enter image description here

After rebooting the emulator, the phone's memory size increased! I don’t know why userdata-qemu.img is much larger and now I have only 1.89GB.

enter image description here

+1
source

Source: https://habr.com/ru/post/1232088/


All Articles