dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.28k stars 1.76k forks source link

[ARM64] Fail to install 6.0 MAUI from latest public build with error "Workload installation failed: microsoft.android.sdk.darwin::32.0.482 is not found in NuGet feeds" #12242

Closed v-Lily closed 1 year ago

v-Lily commented 1 year ago

Description

After installing the .NET 6.0 SDK, fails to install 6.0 MAUI from latest public build with the following error:

Workload installation failed: microsoft.android.sdk.darwin::32.0.482 is not found in NuGet feeds https://api.nuget.org/v3/index.json".

Steps to Reproduce

  1. Install the .NET 6.0 SDK
  2. Run open up a command line (run as administrator)
  3. Execute the below command from the instruction to install the maui workload sudo dotnet workload install maui --source https://api.nuget.org/v3/index.json
  4. The error is as shown below: image

Link to public reproduction project repository

No

Version with bug

Unknown/Other (please specify)

Last version that worked well

Unknown/Other

Affected platforms

macOS

Affected platform versions

MacOS SDK 6.0.404

Did you find any workaround?

No

Relevant log output

Skipping NuGet package signature verification.
Skipping NuGet package signature verification.
Installing workload manifest microsoft.net.sdk.tvos version 16.1.229…
Installing workload manifest microsoft.net.sdk.maui version 6.0.548…
Installing workload manifest microsoft.net.sdk.macos version 13.0.784…
Installing workload manifest microsoft.net.workload.emscripten version 6.0.12…
Installing workload manifest microsoft.net.sdk.maccatalyst version 16.1.229…
Installing workload manifest microsoft.net.sdk.ios version 16.1.229…
Installing workload manifest microsoft.net.workload.mono.toolchain version 6.0.12…
Installing pack Microsoft.Maui.Core.Ref.android version 6.0.548...
Writing workload pack installation record for Microsoft.Maui.Core.Ref.android version 6.0.548...
Installing pack Microsoft.Maui.Core.Runtime.android version 6.0.548...
Writing workload pack installation record for Microsoft.Maui.Core.Runtime.android version 6.0.548...
Installing pack Microsoft.Maui.Controls.Ref.android version 6.0.548...
Writing workload pack installation record for Microsoft.Maui.Controls.Ref.android version 6.0.548...
Installing pack Microsoft.Maui.Controls.Runtime.android version 6.0.548...
Writing workload pack installation record for Microsoft.Maui.Controls.Runtime.android version 6.0.548...
Installing pack Microsoft.Maui.Essentials.Ref.android version 6.0.548...
Writing workload pack installation record for Microsoft.Maui.Essentials.Ref.android version 6.0.548...
Installing pack Microsoft.Maui.Essentials.Runtime.android version 6.0.548...
Writing workload pack installation record for Microsoft.Maui.Essentials.Runtime.android version 6.0.548...
Installing pack Microsoft.AspNetCore.Components.WebView.Maui version 6.0.548...
Writing workload pack installation record for Microsoft.AspNetCore.Components.WebView.Maui version 6.0.548...
Installing pack Microsoft.Maui.Dependencies version 6.0.548...
Writing workload pack installation record for Microsoft.Maui.Dependencies version 6.0.548...
Installing pack Microsoft.Maui.Sdk version 6.0.548...
Pack Microsoft.Maui.Sdk version 6.0.548 is already installed.
Writing workload pack installation record for Microsoft.Maui.Sdk.net6 version 6.0.548...
Installing pack Microsoft.Maui.Extensions version 6.0.548...
Writing workload pack installation record for Microsoft.Maui.Extensions version 6.0.548...
Installing pack Microsoft.Maui.Graphics version 6.0.501...
Writing workload pack installation record for Microsoft.Maui.Graphics version 6.0.501...
Installing pack Microsoft.Maui.Resizetizer.Sdk version 6.0.548...
Writing workload pack installation record for Microsoft.Maui.Resizetizer.Sdk version 6.0.548...
Installing pack Microsoft.Maui.Templates.net6 version 6.0.548...
Pack Microsoft.Maui.Templates.net6 version 6.0.548 is already installed.
Writing workload pack installation record for Microsoft.Maui.Templates.net6 version 6.0.548...
Installing pack Microsoft.Maui.Core.Ref.any version 6.0.548...
Writing workload pack installation record for Microsoft.Maui.Core.Ref.any version 6.0.548...
Installing pack Microsoft.Maui.Core.Runtime.any version 6.0.548...
Writing workload pack installation record for Microsoft.Maui.Core.Runtime.any version 6.0.548...
Installing pack Microsoft.Maui.Controls.Ref.any version 6.0.548...
Writing workload pack installation record for Microsoft.Maui.Controls.Ref.any version 6.0.548...
Installing pack Microsoft.Maui.Controls.Runtime.any version 6.0.548...
Writing workload pack installation record for Microsoft.Maui.Controls.Runtime.any version 6.0.548...
Installing pack Microsoft.Maui.Essentials.Ref.any version 6.0.548...
Writing workload pack installation record for Microsoft.Maui.Essentials.Ref.any version 6.0.548...
Installing pack Microsoft.Maui.Essentials.Runtime.any version 6.0.548...
Writing workload pack installation record for Microsoft.Maui.Essentials.Runtime.any version 6.0.548...
Installing pack Microsoft.Android.Sdk.Darwin version 32.0.482...
Workload installation failed. Rolling back installed packs...
Rolling back pack Microsoft.Android.Sdk.Darwin installation...
Rolling back pack Microsoft.Maui.Essentials.Runtime.any installation...
Uninstalling workload pack Microsoft.Maui.Essentials.Runtime.any version 6.0.548…
Rolling back pack Microsoft.Maui.Essentials.Ref.any installation...
Uninstalling workload pack Microsoft.Maui.Essentials.Ref.any version 6.0.548…
Rolling back pack Microsoft.Maui.Controls.Runtime.any installation...
Uninstalling workload pack Microsoft.Maui.Controls.Runtime.any version 6.0.548…
Rolling back pack Microsoft.Maui.Controls.Ref.any installation...
Uninstalling workload pack Microsoft.Maui.Controls.Ref.any version 6.0.548…
Rolling back pack Microsoft.Maui.Core.Runtime.any installation...
Uninstalling workload pack Microsoft.Maui.Core.Runtime.any version 6.0.548…
Rolling back pack Microsoft.Maui.Core.Ref.any installation...
Uninstalling workload pack Microsoft.Maui.Core.Ref.any version 6.0.548…
Rolling back pack Microsoft.Maui.Resizetizer.Sdk installation...
Uninstalling workload pack Microsoft.Maui.Resizetizer.Sdk version 6.0.548…
Rolling back pack Microsoft.Maui.Graphics installation...
Uninstalling workload pack Microsoft.Maui.Graphics version 6.0.501…
Rolling back pack Microsoft.Maui.Extensions installation...
Uninstalling workload pack Microsoft.Maui.Extensions version 6.0.548…
Rolling back pack Microsoft.Maui.Dependencies installation...
Uninstalling workload pack Microsoft.Maui.Dependencies version 6.0.548…
Rolling back pack Microsoft.AspNetCore.Components.WebView.Maui installation...
Uninstalling workload pack Microsoft.AspNetCore.Components.WebView.Maui version 6.0.548…
Rolling back pack Microsoft.Maui.Essentials.Runtime.android installation...
Uninstalling workload pack Microsoft.Maui.Essentials.Runtime.android version 6.0.548…
Rolling back pack Microsoft.Maui.Essentials.Ref.android installation...
Uninstalling workload pack Microsoft.Maui.Essentials.Ref.android version 6.0.548…
Rolling back pack Microsoft.Maui.Controls.Runtime.android installation...
Uninstalling workload pack Microsoft.Maui.Controls.Runtime.android version 6.0.548…
Rolling back pack Microsoft.Maui.Controls.Ref.android installation...
Uninstalling workload pack Microsoft.Maui.Controls.Ref.android version 6.0.548…
Rolling back pack Microsoft.Maui.Core.Runtime.android installation...
Uninstalling workload pack Microsoft.Maui.Core.Runtime.android version 6.0.548…
Rolling back pack Microsoft.Maui.Core.Ref.android installation...
Uninstalling workload pack Microsoft.Maui.Core.Ref.android version 6.0.548…
Workload installation failed: microsoft.android.sdk.darwin::32.0.482 is not found in NuGet feeds https://api.nuget.org/v3/index.json".
alfkonee commented 1 year ago

same is occuring for me on windows under windows for .net 7

 dotnet workload install maui --source  https://api.nuget.org/v3/index.json

Installing pack Microsoft.Maui.Core.Ref.android version 7.0.52...
Pack Microsoft.Maui.Core.Ref.android version 7.0.52 is already installed.
Writing workload pack installation record for Microsoft.Maui.Core.Ref.android version 7.0.52...
Installing pack Microsoft.Maui.Core.Runtime.android version 7.0.52...
Pack Microsoft.Maui.Core.Runtime.android version 7.0.52 is already installed.
Writing workload pack installation record for Microsoft.Maui.Core.Runtime.android version 7.0.52...
Installing pack Microsoft.Maui.Controls.Ref.android version 7.0.52...
Pack Microsoft.Maui.Controls.Ref.android version 7.0.52 is already installed.
Writing workload pack installation record for Microsoft.Maui.Controls.Ref.android version 7.0.52...
Installing pack Microsoft.Maui.Controls.Runtime.android version 7.0.52...
Pack Microsoft.Maui.Controls.Runtime.android version 7.0.52 is already installed.
Writing workload pack installation record for Microsoft.Maui.Controls.Runtime.android version 7.0.52...
Installing pack Microsoft.Maui.Essentials.Ref.android version 7.0.52...
Pack Microsoft.Maui.Essentials.Ref.android version 7.0.52 is already installed.
Writing workload pack installation record for Microsoft.Maui.Essentials.Ref.android version 7.0.52...
Installing pack Microsoft.Maui.Essentials.Runtime.android version 7.0.52...
Pack Microsoft.Maui.Essentials.Runtime.android version 7.0.52 is already installed.
Writing workload pack installation record for Microsoft.Maui.Essentials.Runtime.android version 7.0.52...
Installing pack Microsoft.AspNetCore.Components.WebView.Maui version 7.0.52...
Pack Microsoft.AspNetCore.Components.WebView.Maui version 7.0.52 is already installed.
Writing workload pack installation record for Microsoft.AspNetCore.Components.WebView.Maui version 7.0.52...
Installing pack Microsoft.Maui.Sdk version 7.0.52...
Pack Microsoft.Maui.Sdk version 7.0.52 is already installed.
Writing workload pack installation record for Microsoft.Maui.Sdk.net7 version 7.0.52...
Installing pack Microsoft.Maui.Sdk version 6.0.548...
Pack Microsoft.Maui.Sdk version 6.0.548 is already installed.
Writing workload pack installation record for Microsoft.Maui.Sdk.net6 version 6.0.548...
Installing pack Microsoft.Maui.Graphics version 7.0.52...
Pack Microsoft.Maui.Graphics version 7.0.52 is already installed.
Writing workload pack installation record for Microsoft.Maui.Graphics version 7.0.52...
Installing pack Microsoft.Maui.Resizetizer.Sdk version 7.0.52...
Pack Microsoft.Maui.Resizetizer.Sdk version 7.0.52 is already installed.
Writing workload pack installation record for Microsoft.Maui.Resizetizer.Sdk version 7.0.52...
Installing pack Microsoft.Maui.Templates.net7 version 7.0.52...
Pack Microsoft.Maui.Templates.net7 version 7.0.52 is already installed.
Writing workload pack installation record for Microsoft.Maui.Templates.net7 version 7.0.52...
Installing pack Microsoft.Maui.Templates.net6 version 6.0.548...
Pack Microsoft.Maui.Templates.net6 version 6.0.548 is already installed.
Writing workload pack installation record for Microsoft.Maui.Templates.net6 version 6.0.548...
Installing pack Microsoft.Maui.Core.Ref.any version 7.0.52...
Pack Microsoft.Maui.Core.Ref.any version 7.0.52 is already installed.
Writing workload pack installation record for Microsoft.Maui.Core.Ref.any version 7.0.52...
Installing pack Microsoft.Maui.Core.Runtime.any version 7.0.52...
Pack Microsoft.Maui.Core.Runtime.any version 7.0.52 is already installed.
Writing workload pack installation record for Microsoft.Maui.Core.Runtime.any version 7.0.52...
Installing pack Microsoft.Maui.Controls.Ref.any version 7.0.52...
Pack Microsoft.Maui.Controls.Ref.any version 7.0.52 is already installed.
Writing workload pack installation record for Microsoft.Maui.Controls.Ref.any version 7.0.52...
Installing pack Microsoft.Maui.Controls.Runtime.any version 7.0.52...
Pack Microsoft.Maui.Controls.Runtime.any version 7.0.52 is already installed.
Writing workload pack installation record for Microsoft.Maui.Controls.Runtime.any version 7.0.52...
Installing pack Microsoft.Maui.Essentials.Ref.any version 7.0.52...
Pack Microsoft.Maui.Essentials.Ref.any version 7.0.52 is already installed.
Writing workload pack installation record for Microsoft.Maui.Essentials.Ref.any version 7.0.52...
Installing pack Microsoft.Maui.Essentials.Runtime.any version 7.0.52...
Pack Microsoft.Maui.Essentials.Runtime.any version 7.0.52 is already installed.
Writing workload pack installation record for Microsoft.Maui.Essentials.Runtime.any version 7.0.52...
Installing pack Microsoft.Android.Sdk.Windows version 33.0.22...
Workload installation failed. Rolling back installed packs...
Rolling back pack Microsoft.Android.Sdk.Windows installation...
Workload installation failed: microsoft.android.sdk.windows::33.0.22 is not found in NuGet feeds https://api.nuget.org/v3/index.json".

Was occuring under .net 6 too it seems the manifests for the workload for maui contains the wrong Android SDK Versions

mattleibow commented 1 year ago

@jonathanpeppers this seems weird, not sure where that version comes from?

jonathanpeppers commented 1 year ago

It is working for me on GitHub actions here:

https://github.com/jonathanpeppers/spice/actions/runs/4089895329/jobs/7052931765#step:4:106

The Android number is:

Installing workload manifest microsoft.net.sdk.android version 33.0.26…

Can we add --verbosity diag to the above workload commands? Maybe it will print more info.

ghost commented 1 year ago

Hi @v-Lily. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

ghost commented 1 year ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

v-Lily commented 1 year ago

@mattleibow @jonathanpeppers After installing the latest released SDK, this issue does not reproduced. So close this bug as not repro. Detail info:

  SDK Version: 6.0.405
  Maui Version: 6.0.552
  manifest microsoft.net.sdk.android version: 32.0.485