SDK "Microsoft.NET.Sdk.Android" not found


I am using VS 2026 Community Insiders. Due to the SDK "Microsoft.NET.Sdk.Android" not being found, I cannot compile Android apps.

This start with a simple .NET Android app. I added all of my code, then compiled, and found only a DLL, not an APK. My project file's Sdk value was set to "Microsoft.NET.Sdk", which means it compiled like any other .NET project. I read that the OutputType must be "Exe" and the Sdk must be "Microsoft.NET.Sdk.Android". Unfortunately, SDK not found. But if it was found, apparently I should get an APK.

I tried everything. Various project file settings. Execute dotnet workload list as well as dotnet workload install android, or even uninstall then reinstall. I ran these commands in every command windows and powershell environment I could find. I tried environment variables like "MSBuildSDKsPath", "DOTNET_MSBUILD_SDK_RESOLVER_CLI_DIR", "DOTNET_MULTILEVEL_LOOKUP", and "DOTNET_ROOT". I uninstalled and reinstalled Visual Studio. I'm not sure what else I can do. I'm hoping it's a VS 2026 issue, so now I'm installing VS 2022.

I also found a folder at one point but cannot find it again that contained folders for these SDKs like "Microsoft.NET.Sdk.Windows*" and such. But the Android SDK folder was not in that folder.

  • Is it a known VS 2026 issue?

  • Do I even require the "Microsoft.NET.Sdk.Android" SDK, or can I get around it?

  • Can VS Code do it, or would it use the same broken toolchain?

1
Mar 6 at 3:45 PM
User AvatarMatthew Roberts
#c##android#.net#visual-studio

No answer found for this question yet.