Home > front end >  Unable to Debug Xamarin.Android app in VS 2022 . App closes immediately after launch
Unable to Debug Xamarin.Android app in VS 2022 . App closes immediately after launch

Time:08-24

I need to update my Xamarin.Android app to target Android 12.
Since I couldnt download Android 12 SDK in VS2019 due to JDK11 unavailability also many says there will be some issues with JDK11 in VS2019. I have installed VS2022 17.3.1.

In VS2022, I am not able to debug the app on deployment. After deployment, the app closes immediately.

In the output it shows as below

enter image description here

The app deploys fine in VS2019.

Any help would be appreciated.

CodePudding user response:

Have you checked these two properties in Visual Studio

1.Incremental aapt

Try choosing the below supported architectures in advanced android options.enter image description here

If not try enabling it and please check.

Hope it helps!!!

  • Related