google / android-emulator-m1-preview

Apache License 2.0
1.83k stars 161 forks source link

How to allocate android emulator more storage #91

Open Bilalsahak opened 2 years ago

Bilalsahak commented 2 years ago

I’ve installed this emulator on my m1 MacBook and want to restore my WhatsApp backup, but keeps warning me of low storage. How can I increase the storage from 4 GB so that I can install more apps in it.

xxf850020 commented 2 years ago

Do you have a solution now?I have the same question.

nu0l commented 2 years ago

/Applications/Android Emulator.app/Contents/MacOS/api30-gphone-arm64-v8a Modify this directory,config.ini and hardware-qemu.ini In file disk.dataPartition.size=

image
Bilalsahak commented 2 years ago

Hi bro, Nope this didn’t work either.

You have to install android studio for it. And from there, you can change it in the settings.

Thanks,

On Sep 15, 2022, at 12:19 PM, iak3ec @.***> wrote:

/Applications/Android Emulator.app/Contents/MacOS/api30-gphone-arm64-v8a Modify this directory,config.ini and hardware-qemu.ini In file disk.dataPartition.size= https://user-images.githubusercontent.com/54735907/190366337-55436e2b-b661-47e5-b4d5-a346c4da49be.png — Reply to this email directly, view it on GitHub https://github.com/google/android-emulator-m1-preview/issues/91#issuecomment-1247825889, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2P22ZQ4XBI5Z4NUQ6NP4BDV6LS2VANCNFSM56LPQJBA. You are receiving this because you authored the thread.

nu0l commented 2 years ago

It may be necessary to reinstall the Android Emulator and then modify the configuration file. Currently I use it fine.

TensorFu commented 1 year ago

It may be necessary to reinstall the Android Emulator and then modify the configuration file. Currently I use it fine.

I am using the Mac version. After installing this software, I go directly to the user interface. Where can I find what you call the configuration interface?

TensorFu commented 1 year ago

/Applications/Android Emulator.app/Contents/MacOS/api30-gphone-arm64-v8a Modify this directory,config.ini and hardware-qemu.ini In file disk.dataPartition.size=

image

I tried your plan, but it didn't work.

hannesa2 commented 1 year ago

on my side only config.ini needs

disk.dataPartition.size=8G
wenson commented 1 year ago

@TimeBeneficiary https://github.com/google/android-emulator-m1-preview/issues/61 see it .pls it's work.

TensorFu commented 1 year ago

@TimeBeneficiary #61 see it .pls it's work.

It doesn't have any effect on me

image image
nu0l commented 1 year ago

/Applications/Android Emulator.app/Contents/MacOS/api30-gphone-arm64-v8a Modify this directory,config.ini and hardware-qemu.ini In file disk.dataPartition.size=

image

I tried your plan, but it didn't work.

hxd,我重新安装.dmg文件,打开应用程序包

image

更改config.ini 和 hardware-qemu.ini的disk.dataPartition.size配置,再打开模拟器就成功了。如果帮不到你,你可以尝试使用 android studio。

wenson commented 1 year ago

@TimeBeneficiary #61 see it .pls it's work.

It doesn't have any effect on me image

image

you'll also need to *delete all userdata.img files** in that directory.
这个是重点

TensorFu commented 1 year ago

to _delete all userdata.img files_* in that directory. 这个是重点

谢谢你,真的有效,只不过我的之前的软件不见了,不过真的有效,谢谢