xmlflutterandroid-studio

How to fix Android SDK update site errors


Whenever I run a simple Flutter App on an Android Emulator, my PC just freezes. I checked the console and found that it usually gets stuck at installing profile.

I did some digging and found that I have 2 errors that I think may be related.

Both have unknown error, not sure what to do to get those fixed

enter image description here


Solution

  • I figured it out.

    So, the errors I shared here have nothing to do with why my PC freezes. The reason it freezes is because I had to enable Hyper-V

    To do this:

    1. Open Windows Features
    2. Select Hyper-V (Both Management Tools & Platform should be selected)
    3. Restart PC

    Note: I also fixed the errors by updating the Android SDK build Tools