-
Notifications
You must be signed in to change notification settings - Fork 541
Android workload not recognized on Windows #10071
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What |
|
The "official" answer is Android .NET N only supports one back (.NET N - 1). For example, .NET 9 can only target You should get a nice error message about how However, we had a unique requirement this time for new NativeAOT preview packages. We need to build all the AndroidX/etc NuGet packages we maintain with both So for now we have temporarily allowed .NET 10 to build But the real answer is |
Thank you for your explanation @jpobst . I thought .NET N(LTS) would be compatible with the previous LTS. Since .NET 8 will be supported until Nov/2026. ![]() I will revert my C.I to use .NET 9. |
MAUI and the other mobile workloads (like .NET for Android) do not have LTS versions: .NET 8 MAUI/Mobile will go out of support on May 14, 2025. That is why we will not support building |
Android framework version
net10.0-android (Preview)
Affected platform version
.NET 10.0.100-preview.3.25201.16
Description
I bumped .NET SDK to preview 3 on my CI
10.0.100-preview.3.25201.16
When I try to build an Android library it complains:
Then I added
dotnet workload install android-net8
And workload install doesn't recognize android-net8.
Is there any reason why add a totally new workload instead of simply update the
android
workload ?Steps to Reproduce
Build an Android project on Windows with .NET 10 preview 3
Did you find any workaround?
Use .NET 9
Relevant log output
The text was updated successfully, but these errors were encountered: