Debbuging Xamarin on Visual Studio Android O (API 26)

I just updated my OP3 on Android O and I ran into a problem while I want to test the Xamarin Forms application:
Generation work, and I can install the APK using the command: adb install -r
But if I want to debut the application in Visual Studio, I have this error:

Failure [INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install Mono.Android.DebugRuntime without first uninstalling.]

(Compilation is installed in API 25)

Any idea?

+7
visual-studio android-o xamarin
source share
1 answer

I can reproduce the same error, there are a few things you can do.

In your Android solution, you can go to Project > Properties > Android Options and disable Use Shared Runtime . However, using this application will take a very long time.

You can also change your phone to Nougat, which worked for me.

Let us hope that OnePlus will fix this in the future.

+10
source share

All Articles