Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android emulator always with 533MB of internal storage

In Eclipse I've created an Android Emulator.

I've set 2000MB as Internal Storage using the configurator, but starting the emulator and looking into Storage properties I Always see 533 MB as total space.

I've tried to add -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 can't understand why emulator doesn't use my configuration.

Any suggestion?

like image 586
s.milziadi Avatar asked Sep 23 '15 10:09

s.milziadi


People also ask

How do I change Android emulator storage?

On Android Studio Click Edit Icon to edit the AVD. Click Show Advanced settings. Change the Internal Storage, Ram, SD Card size as necessary. Click Finish.

How do I access internal storage on Android emulator?

In Android N emulator you can easily get access Internal Memory. Then a pop up will open. Click on explore . Then you will get access of Internal Storage.

Where does the Android emulator store files?

The android tools create an . android folder in your users home folder. This folder contains an avd folder in which a separate folder for each virtual device exists. In each of this folders a file called sdcard.

How do I increase my emulator memory?

Go to Tools->Android->AVD Manager , there's something like pencil to edit your AVD click on that, then in the pop-up window click Show Advanced Settings and there you can change the RAM size.


1 Answers

I finally was able to solve the issue.

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

enter image description here

After relaunching the emulator, the phone memory size has increased! I don't know why, the userdata-qemu.img is much bigger, and I have now 1.89GB total space.

enter image description here

like image 135
Kr1 Avatar answered Sep 22 '22 14:09

Kr1