Baqar Gogia
Baqar Gogia

Reputation: 367

Not Supported Exception with xamarin.forms

System.NotSupportedException: Unable to activate instance of type PageRenderer from native handle . ---> System.MissingMethodException: No constructor found for PageRenderer::.ctor(System.IntPtr, Android.Runtime.JniHandleOwnership) ---> Java.Interop.JavaLocationException: Exception of type 'Java.Interop.JavaLocationException' was thrown.

It happens when application is running and I change system font size and then push application icon again. (android project) I have PageRenderer where I have googleMap.

Upvotes: 0

Views: 609

Answers (1)

Baqar Gogia
Baqar Gogia

Reputation: 367

Solved! I added public constructor with Intptr and Jniownership and added view initialization in this constructor and working perfectly

Upvotes: 1

Related Questions