Forum Xamarin.Android


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

OnLayout() crashes with System.ArgumementNullException

SorenA_DKSorenA_DK DKMember
edited October 2017 in Xamarin.Android


I have a problem in an Android app.

When I return to the app, having exited it using one of the standard Android buttons, the app - sometimes - crashes with this error:

android.runtime.JavaProxyThrowable: System.ArgumentNullException: Value cannot be null
Parameter name: key

Have anyone else encountered this problem?

If so, has anyone been able to solve this problem?

Any help is much appreciated.


Sign In or Register to comment.