How much storage does Android Emulator need? [.NET MAUI Development on Visual Studio Mac]

MPR 1 Reputation point
2022-10-01T19:23:45.027+00:00

I was having a problem where I couldn't get an app to deploy - it was saying android.os.ParcelableException: java.io.IOException: Requested internal only, but not enough space

I kept bumping up RAM, and SD space, and at 8192 MB or so (the default from Android Studio was 800 MB) I was able to get things to deploy.

What's an appropriate number here? If it helps, this is on a Pixel C.

I realize that this question probably falls between the cracks - it's a combination Visual Studio Mac / Android Emulator / .NET MAUI (since that's what I'm developing for), but I thought there'd be someone here with expertise willing to help me out.

Developer technologies | .NET | .NET MAUI
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2022-10-03T04:23:07.977+00:00

    Hello,

    What's an appropriate number here?

    10G or bigger is better(minimum 5Gb), if you have applications that need to be test.

    If you get error about Emulator: emulator: ERROR: Not enough disk space to run AVD, you can execute the factory reset in Tools->Android=>Android device Manager or create a new emulator.

    Best Regards,

    Leon Lu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.