A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
Hi @Sergiusz ,
Thanks for reaching out.
It looks like the issues you’re seeing are related to Android SDK and emulator setup, as well as project compatibility, when using Visual Studio 2026 + .NET MAUI + Android:
- License acceptance: Sometimes licenses don’t persist if the Java JDK version or SDK paths are mismatched.
- SDK / Emulator failures: Android SDK Manager may show “completed” but fail in the background, and emulators might not start.
- Project compatibility: MAUI projects targeting older .NET versions (like .NET 8) may not build reliably under VS 2026.
To troubleshoot:
- Accept Android SDK licenses manually:
sdkmanager --licenses
- Check that your SDK paths and environment variables (
ANDROID_HOME,ANDROID_SDK_ROOT,JavaSdkDirectory) are correct. - Use a newer Java JDK (e.g., Java 11 or 22) and re-accept licenses.
- Consider upgrading your project to .NET 9 or .NET 10 if possible.
- Delete and recreate Android emulators (AVDs).
- You can also try building and deploying via CLI (
dotnet build,dotnet publish) to bypass IDE issues.
If none of this works, report the problem through Microsoft’s official channels:
- Visual Studio Developer Community: https://developercommunity.visualstudio.com
- .NET MAUI GitHub: https://github.com/dotnet/maui/issues
Include your VS version, MAUI target, SDK paths, Java version, and error messages to help them track the issue.
Hope this helps! If my answer was helpful - kindly follow the instructions here so others with the same problem can benefit as well.