Skip to content

[Android] Can not start app in Debug/Release mode when Fast Deployment is disabled #29941

Open
@kbabic20

Description

@kbabic20

Description

Description

Hi

I can not run my app when I disable Fast Deployment on Android.

Tried clean project.
Checked line by line project files.
Unload and load project.

But, no. I does not start at all. Crashed on splash screen.

My SDK version is 9.0.301

I get this alert
System.NotSupportedException: 'Unable to find Invoker for type 'Microsoft.Maui.MauiApplication'. Was it linked away?'

Steps to Reproduce

  1. Create New .NET MAUI App
  2. Turn off Fast Deployment on Android
  3. Run Project on Android

Link to public reproduction project repository

No response

Version with bug

9.0.70 SR7

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

9.0.22 SR2.2

Affected platforms

Android

Affected platform versions

Android 10 - API29, VS 2022 17.14.5

Did you find any workaround?

No

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    s/needs-infoIssue needs more info from the authort/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions