android.runtime.JavaProxyThrowable: System.ArgumentException: element is not of type Xamarin.Forms.View Parameter name: element at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00011] in F:\workspace\Xamarin.Forms\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:139 at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x00022] in F:\workspace\Xamarin.Forms\Xamarin.Forms.Platform.Android\Platform.cs:289 at Xamarin.Forms.Platform.Android.Platform.AddChild (Xamarin.Forms.VisualElement view, System.Boolean layout) [0x0001d] in F:\workspace\Xamarin.Forms\Xamarin.Forms.Platform.Android\Platform.cs:530 at Xamarin.Forms.Platform.Android.Platform.SetPage (Xamarin.Forms.Page newRoot) [0x000a2] in F:\workspace\Xamarin.Forms\Xamarin.Forms.Platform.Android\Platform.cs:414 at Xamarin.Forms.Platform.Android.FormsApplicationActivity.Inte


Solutions on the web

Solution icon of stackoverflow
via Stack Overflow by dobowicz
, 8 months ago
\Xamarin.Forms.Platform.Android\Platform.cs:289 at Xamarin.Forms.Platform.Android.Platform.AddChild (Xamarin.Forms.VisualElement view, System.Boolean layout) [0x0001d] in F:\workspace\Xamarin.Forms\Xamarin.Forms.Platform.Android\Platform.cs:530 at

Stack trace

android.runtime.JavaProxyThrowable: System.ArgumentException: element is not of type Xamarin.Forms.View Parameter name: element at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00011] in F:\workspace\Xamarin.Forms\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:139 at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x00022] in F:\workspace\Xamarin.Forms\Xamarin.Forms.Platform.Android\Platform.cs:289 at Xamarin.Forms.Platform.Android.Platform.AddChild (Xamarin.Forms.VisualElement view, System.Boolean layout) [0x0001d] in F:\workspace\Xamarin.Forms\Xamarin.Forms.Platform.Android\Platform.cs:530 at Xamarin.Forms.Platform.Android.Platform.SetPage (Xamarin.Forms.Page newRoot) [0x000a2] in F:\workspace\Xamarin.Forms\Xamarin.Forms.Platform.Android\Platform.cs:414 at Xamarin.Forms.Platform.Android.FormsApplicationActivity.Inte
	at md59d637456c2e899bd4a90a05345a07db3.MvxFormsApplicationActivity.n_onCreate(Native Method)
	at md59d637456c2e899bd4a90a05345a07db3.MvxFormsApplicationActivity.onCreate(MvxFormsApplicationActivity.java:31)
	at android.app.Activity.performCreate(Activity.java:5231)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
	at android.app.ActivityThread.access$800(ActivityThread.java:135)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:136)
	at android.app.ActivityThread.main(ActivityThread.java:5001)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
	at dalvik.system.NativeStart.main(Native Method)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.