`workload install android` fails on Ubuntu (works on Win/Mac)
See original GitHub issuedotnet workload install android
works on windows-latest
, macos-latest
but is failing on ubuntu-latest
on GitHub actions.
.NET SDK installed 6.0.100-rc.2.21505.57
. Installation is part of the workflow.
dotnet workload install android
shell: /usr/bin/bash -e {0}
env:
JAVA_HOME_11.0.13_x64: /opt/hostedtoolcache/jdk/11.0.13/x64
JAVA_HOME: /opt/hostedtoolcache/jdk/11.0.13/x64
JAVA_HOME_11_0_13_X64: /opt/hostedtoolcache/jdk/11.0.13/x64
DOTNET_ROOT: /home/runner/.dotnet
Skip NuGet package signing validation. NuGet signing validation is not available on Linux or macOS aka.ms/workloadskippackagevalidation .
Updated advertising manifest microsoft.net.sdk.maui.
Updated advertising manifest microsoft.net.sdk.tvos.
Updated advertising manifest microsoft.net.workload.emscripten.
Updated advertising manifest microsoft.net.sdk.ios.
Updated advertising manifest microsoft.net.sdk.macos.
Updated advertising manifest microsoft.net.sdk.android.
Updated advertising manifest microsoft.net.workload.mono.toolchain.
Updated advertising manifest microsoft.net.sdk.maccatalyst.
Installing workload manifest microsoft.net.sdk.maui version 6.0.101-preview.9.1843…
Installing pack Microsoft.Android.Sdk version 31.0.101-preview.9.16...
Workload installation failed. Rolling back installed packs...
Installing workload manifest microsoft.net.sdk.maui version 6.0.101-preview.9.1805…
Installation rollback failed: Failed to install manifest microsoft.net.sdk.maui version 6.0.101-preview.9.1805: The transaction has aborted..
Rolling back pack Microsoft.Android.Sdk installation...
Workload installation failed: microsoft.android.sdk.linux::31.0.101-preview.9.16 is not found in NuGet feeds api.nuget.org/v3/index.json".
GitHub actions: https://github.com/getsentry/sentry-dotnet/runs/4061658135?check_suite_focus=true
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Getting error while installing android studio for linux 64 bit ...
1 Answer 1 · Download the android studio android-studio-ide-192.6392135-linux.tar. · Install these dependencies sudo apt-get install libc6:i386 ...
Read more >NETSDK1147: Missing workload for specified target ...
This error is caused by trying to compile a project that requires an optional workload, but you don't have the workload installed.
Read more >VS MAC: Workload installation failed: One or more errors ...
It runs on Visual Studio on Windows for the Android version. I've ensured that everything is updated, including the Mac itself and Visual...
Read more >FreeFileSync: Open Source File Synchronization & Backup ...
FreeFileSync is a free open source data backup software which helps you compare and synchronize files and folders on Windows, macOS, and Linux....
Read more >Ubuntu setup nas. Most NAS systems will allow you to set two ...
Ubuntu setup nas. Most NAS systems will allow you to set two DNS entries for each port. Go to Raspberry Pi OS –...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bruno-garcia since we don’t currently support Linux as either a development platform or a runtime target, we don’t publish Linux installers.
Your best option is to build from source. This resource may be helpful:
https://github.com/xamarin/xamarin-android/blob/main/Documentation/building/unix/instructions.md
An Android project can be created on a Linux platform but the Workload required to use it cannot? And there is no indication of this limitation anywhere during the process. Perhaps the dotnet workload search command can check the OS and not list the workloads that are not valid. Some sort of helpful message would seem prudent.