Closed v-Lily closed 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
@jonathanpeppers this seems weird, not sure where that version comes from?
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.
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.
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.
@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
Description
After installing the .NET 6.0 SDK, fails to install 6.0 MAUI from latest public build with the following error:
Steps to Reproduce
sudo dotnet workload install maui --source https://api.nuget.org/v3/index.json
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