How to fix Unity Error: Failed to update Android SDK package list

 


Today's post is about the Unity "Failed to update Android SDK package list" error, which can be quite annoying if you don't know how to fix it (speaking from experience).

Disclaimer: I don't know what causes this issue, and also I can't guarantee this will fix it for you, but it's defienetly worth a try since it's a very simple process that can take less than a minute.

It's worth mentioning I managed to find this solution through trial and error. Everytime I get it, this process fixes it so hopefully it will fix it for you too.

Without further ado, here are the steps:

    1. Open Player settings

             File > Build Settings > Player Settings

    2. Change the Target API level to Android 11.0 (API level 30)

             Other Settings > find "Target API level" > and change whatever you have (most                             likely "Automatic (highest installed)") to "Android 11.0 (API level 30)" or vice                                 versa.

    3. Play your project and then stop it.

             Click play in the editor, wait for it to start playing, and then stop it.

    4. Change the Target API level to what you had.

              Repeat the first step, then go to "other settings" once more > find "Target API level" >                  and change it from "Android 11.0 (API level 30)" to whatever you had.

    5. You are done!

Hopefully this fixed the error for you, I honestly don't know why this works but the important thing is that it does.

If this didn't fix it, I don't really know what could be the problem, but don't give up, this is just an unofficial way.

If you manage to solve it with another method, let me know so I can make a post and help others. 

Comment if it worked for you or if it didn't.

Thank you so much for reading!

See you next time!

Comments

Popular posts from this blog

I made a game under 24 hours