Problems with debugging and deploying to emulator.

Jesse Knott 691 Reputation points
2021-05-15T04:51:41.32+00:00

Hello, I've asked this question in the past, but in a different context.
I am having a bizarre problem with when I try to debug my app. This has only begun since I had updated VisualStudio after a previous hiatus from programming.
In the past I was able to build and deploy to the emulator using the default configuration for my Android project. The project is defined to build a package and to support x86, x86-64, and both of the armeabi's. For some reason now I cannot deploy to the emulator I cannot do so unless I disable the two armeabi's. In the past when I deployed the project to the emulator it would run no matter what options I had selected.

Is this some known issue? Do I need to roll my compiler back to a previous version? Am I experiencing something novel and unique?

Cheers!

Developer technologies .NET Xamarin
{count} votes

1 answer

Sort by: Most helpful
  1. Jesse Knott 691 Reputation points
    2021-05-24T04:45:02.677+00:00

    I was finally able to get this working.
    I had to manually merge the values from an old copy of the project file in gitlab. For some reason it would not accept the changes from changing the settings in the IDE.

    After merging the following line by hand it works now for both Debug and Release deployment.

        <AndroidSupportedAbis>armeabi-v7a;x86;x86_64;arm64-v8a</AndroidSupportedAbis>
    

    I cant figure out why the IDE was unable to write the changes to the project file, but no matter how many times I tried using the IDE to make the changes, I could not get the project to deploy a release build until I manually merged the line above.

    Cheers!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.