Android : Xamarin.Android + Support Library: Cannot Convert

on Tuesday, October 7, 2014


I have a little problem with porting an Android Application to a Xamarin.Android project. Some casts always seem to fail and I have no idea how to fix it. It seems to be a problem using the Android Support library with Xamarin.


This is how it looks like during debugging:


failing cast 1


failing cast 2


These casts always fail with: System.InvalidCastException: Cannot cast from source type to destination type.


0 comments:

Post a Comment