How to increase internal memory for Android 4.0 Emulator images?

穿精又带淫゛_ 提交于 2019-12-08 10:28:26

问题


Free internal memory is sparse on Android 4.0, because the system occupies quite some space. This limits the number of apps one can install.

So, how can we increase the internal memory?

In the dialog for creating new AVDs, I didn't see an option for it. What did I miss? I tried some of the partition size options, but it won't affect the internal memory or the emulator hangs during boot.


回答1:


greenrobot

i couldn't find that option in the UI either. but you can start the emulator from the command line and specify the size with a parameter. e.g.:

emulator-arm.exe -partition-size 123 -avd myandroid4

for me the path to the emulator exe is "C:\Program Files (x86)\Android\android-sdk\tools\" replace "123" with your desired partition size and "myandroid4" with the name of your AVD

after starting my avd the free space for apps showed the desired value. but i didn't try to write data into it.

btw you can also create a shortcut to the emulator.exe so you dont need to start the SDK Manager every time you want to start an avd.

please tell me if that worked for you. regards erik



来源:https://stackoverflow.com/questions/7820087/how-to-increase-internal-memory-for-android-4-0-emulator-images

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!