Skip to content

Cannot install maui-android workload on Ubuntu 24.04 in Docker #41123

@klemmchr

Description

@klemmchr

Description

I try to install the maui-android workload on Ubuntu 24.04 in Docker. The installation fails because the workload could not be found. Installing other workloads (like wasm-tools) works without any error.

FROM ubuntu:noble

RUN apt update
RUN apt install -y dotnet-sdk-8.0
RUN dotnet workload install maui-android

Console output

 > [4/4] RUN dotnet workload install maui-android:
0.372
0.373 Welcome to .NET 8.0!
0.373 ---------------------
0.373 SDK Version: 8.0.105
0.520
0.520 ----------------
0.520 Installed an ASP.NET Core HTTPS development certificate.
0.520 To trust the certificate, view the instructions: https://aka.ms/dotnet-https-linux
0.521
0.521 ----------------
0.521 Write your first app: https://aka.ms/dotnet-hello-world
0.521 Find out what's new: https://aka.ms/dotnet-whats-new
0.521 Explore documentation: https://aka.ms/dotnet-docs
0.521 Report issues and find source on GitHub: https://github.com/dotnet/core
0.521 Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
0.521 --------------------------------------------------------------------------------------
0.590 Workload ID maui-android is not recognized.

Steps to Reproduce

Use Dockerfile from above and build it

Link to public reproduction project repository

No response

Version with bug

Unknown/Other

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

Other (Tizen, Linux, etc. not supported by Microsoft directly)

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions