Forum Xamarin.Forms

System.TypeLoadException: Could not load type 'Android.Runtime.AndroidRuntime'

K-RodzK-Rodz USUniversity

Hello,

Just update to this build :

Build Information
Release ID: 601005441
Git revision: 68292d1ab289911c815ddc715dd7cc29a9752f9f
Build date: 2016-09-09 04:50:58-04
Xamarin addins: ed25d008672663eeb9db55f1ccecb3c24d2fd3b2
Build lane: monodevelop-windows-cycle8

Now when I launch my android app I get: System.TypeLoadException: Could not load type 'Android.Runtime.AndroidRuntime' from assembly 'Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'.

Ideas?

Posts

  • I had the same problem here and solved it changing in Project Options -> Android Build -> Linker to the "Link all Assemblies" Linker Behaviour

  • K-RodzK-Rodz USUniversity

    I was specific to one of my devices. Weird.
    Got it working by doing the same thing !

    Thanks :)

Sign In or Register to comment.