Repairing/Installing Android SDK always fails in Visual Studio for Mac Preview

Kim Strasser 661 Reputation points
2022-04-11T11:07:59.887+00:00

What can I do if repairing Android SDK always fails? Is it necessary to uninstall Visual Studio for Mac Preview?
I use Visual Studio for Mac Preview 17.0 (build 8320) and Xamarin.Android in my project.
My SDK Manager looks like this:
191809-bildschirmfoto-2022-04-11-um-130244.png

I did the following steps to repair the Android SDK but it always fails:
191807-bildschirmfoto-2022-04-11-um-125007.png
191902-bildschirmfoto-2022-04-11-um-125031.png
191884-bildschirmfoto-2022-04-11-um-125123.png

I have macOS Monterey 12.3.1.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Tommaso Sala 1 Reputation point
    2022-07-21T21:29:00.16+00:00

    I'm currently on VS for Mac v.17.0.6 (build 4) and I'm experiencing the very same errors.

    Can't install or uninstall any Android component (platform, SDK, emulators)... everything just download, start installing and fails.

    Tried both from the toast message that ask me to install Android SDK, and from the Preferences.
    Repair also fails.

    As a side note, when opening Tools -> Android SDK manager, SDK command prompt, Device manager, they simply don't open at all.

    Please advise.