Skip to content
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

not able build maui blazor or maui app project #3451

Closed
suresh-anumolu opened this issue Nov 18, 2021 · 2 comments
Closed

not able build maui blazor or maui app project #3451

suresh-anumolu opened this issue Nov 18, 2021 · 2 comments
Labels
area-setup Installation, setup, requirements, maui-check, workloads, platform support platform/android 🤖 platform/windows 🪟 t/bug Something isn't working
Projects

Comments

@suresh-anumolu
Copy link

Description

I have installed preview #10 version of visual studio version. when i try to create maui blazor or maui app .. the project is getting created but when i tried to build and run i am getting the following exceptions.

esponse status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Microsoft.Extensions.Logging.Abstractions'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
NuGet package restore failed. Please see Error List window for detailed warnings and errors.
Error occurred while restoring NuGet packages: Failed to retrieve information about 'Microsoft.Extensions.Configuration' from remote source 'https://www.nuget.org/packages/Microsoft.Maui.Graphics/FindPackagesById()?id='Microsoft.Extensions.Configuration'&semVerLevel=2.0.0'.
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Microsoft.AspNetCore.Authorization'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Microsoft.AspNetCore.Components.WebView'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Xamarin.AndroidX.Legacy.Support.V4'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Xamarin.AndroidX.Navigation.Runtime'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Xamarin.AndroidX.Navigation.Common'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Xamarin.Google.Android.Material'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Microsoft.JSInterop'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Xamarin.AndroidX.Lifecycle.LiveData'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Xamarin.Android.Glide'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Xamarin.AndroidX.Navigation.Fragment'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Microsoft.Graphics.Win2D'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Xamarin.AndroidX.Browser'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).

Issue #2

1>C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\31.0.101-preview.10.59\tools\Xamarin.Android.Common.targets(509,3): error XA1018: Specified AndroidManifest file does not exist: C:\Users\SureshAnumolu\source\repos\MauiApp2\MauiApp2\AndroidManifest.xml.
1>Done building project "MauiApp2.csproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

Steps to Reproduce

  1. Install VS 2022 preview [Spec] Rounded Corners #10 using the url - https://devblogs.microsoft.com/dotnet/announcing-net-maui-preview-10/comment-page-2/

  2. create Dotnet maui blazor or app

  3. Try to rebuild the app you would see the following errors

OS - Windows 10

Version with bug

Preview 10 (current)

Last version that worked well

Preview 10 (current)

Affected platforms

Android, Windows

Affected platform versions

Android

Did you find any workaround?

No response

Relevant log output

1>C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\31.0.101-preview.10.59\tools\Xamarin.Android.Common.targets(509,3): error XA1018: Specified AndroidManifest file does not exist: C:\Users\SureshAnumolu\source\repos\MauiApp2\MauiApp2\AndroidManifest.xml.
1>Done building project "MauiApp2.csproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
@suresh-anumolu suresh-anumolu added the t/bug Something isn't working label Nov 18, 2021
@jsuarezruiz jsuarezruiz added this to New in Triage via automation Nov 19, 2021
@jsuarezruiz jsuarezruiz added the area-setup Installation, setup, requirements, maui-check, workloads, platform support label Nov 19, 2021
@devmikew
Copy link

Just some thoughts.

i get a lot of these errors when updating packages for the Maui project itself. As long as it does find it in some nuget source.

Also look at https://stackoverflow.com/questions/57217262/retrying-findpackagesbyidasync-for-source .

However it looks as if the error in compiling is:

C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\31.0.101-preview.10.59\tools\Xamarin.Android.Common.targets(509,3): error XA1018: Specified AndroidManifest file does not exist: C:\Users\SureshAnumolu\source\repos\MauiApp2\MauiApp2\AndroidManifest.xml.
1>Done building project "MauiApp2.csproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

does this have anything to do with the 404s above?

@Eilon
Copy link
Member

Eilon commented Feb 11, 2022

Hi, we think this issue has been fixed in more recent previews of .NET MAUI and Visual Studio. Please try installing the latest preview per the instructions at https://docs.microsoft.com/dotnet/maui/get-started/installation. If you are still experiencing an issue, please file a new issue with updated details.

@Eilon Eilon closed this as completed Feb 11, 2022
Triage automation moved this from New to Done Feb 11, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Mar 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-setup Installation, setup, requirements, maui-check, workloads, platform support platform/android 🤖 platform/windows 🪟 t/bug Something isn't working
Projects
No open projects
Development

No branches or pull requests

5 participants