Home > Software engineering >  .Maui Static Web Asset Build issue
.Maui Static Web Asset Build issue

Time:09-18

Severity Code Description Project File Line Suppression State Error Manifest file at 'obj\Debug\net6.0-android\android-x86\staticwebassets.build.json' not found. MauiApp3 C:\Program Files\dotnet\sdk\6.0.401\Sdks\Microsoft.NET.Sdk.Razor\targets\Microsoft.NET.Sdk.Razor.StaticWebAssets.targets 680

I am struggling to get the Android application working. My Windows form will build but I receive the above error for arm, arm-64, and x86-64 as well. I just hit create project and try running right after with no changes.

My android SDK should be correctly matching. I have the 31.2.1 Android emulator and Android 11.0 (API 30) O.S. The emulator I create is the Pixel 5 11.0 Android.

CodePudding user response:

For me, the following issue on GitHub fixed it: enter image description here

Then it's worked for me.

Source

  • Related