Hey,
I updated Xamarin.Forms, now my android device fails on this line:
If I remove it, it works fine. No idea what to do!
Here's the exception...
Java.Lang.RuntimeException: java.lang.reflect.InvocationTargetException
at --- End of managed exception stack trace ---
at java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at at dalvik.system.NativeStart.main(Native Method)
at Caused by: java.lang.reflect.InvocationTargetException
at at java.lang.reflect.Method.invokeNative(Native Method)
at at java.lang.reflect.Method.invoke(Method.java:515)
at at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at ... 2 more
at Caused by: md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable: System.NullReferenceException: Object reference not set to an instance of an object
at at Xamarin.Forms.Platform.Android.Platform.OnLayout (bool,int,int,int,int)
at at Xamarin.Forms.Platform.Android.PlatformRenderer.OnLayout (bool,int,int,int,int)
at Android.Views.ViewGroup.n_OnLayout_ZIIII (intptr,intptr,bool,int,int,int,int) [0x00009] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.1-series/d419c934/source/monodroid/src/Mono.Android/platforms/android-19/src/generated/Android.Views.ViewGroup.cs:3806
at at (wrapper dynamic-method) object.3f7b22ee-973f-4678-adaf-bca05f9ffc65 (intptr,intptr,bool,int,int,int,int)
at at md5530bd51e982e6e7b340b73e88efe666e.PlatformRenderer.n_onLayout(Native Method)
at at md5530bd51e982e6e7b340b73e88efe666e.PlatformRenderer.onLayout(PlatformRenderer.java:54)
at at android.view.View.layout(View.java:14817)
at at android.view.ViewGroup.layout(ViewGroup.java:4631)
at at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
at at android.widget.LinearLayout.layoutHorizontal(LinearLayout.java:1660)
at at android.widget.LinearLayout.onLayout(LinearLayout.java:1436)
at at android.view.View.layout(View.java:14817)
at at android.view.ViewGroup.layout(ViewGroup.java:4631)
at at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at at android.view.View.layout(View.java:14817)
at at android.view.ViewGroup.layout(ViewGroup.java:4631)
at at com.android.internal.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:374)
at at android.view.View.layout(View.java:14817)
at at android.view.ViewGroup.layout(ViewGroup.java:4631)
at at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at at android.view.View.layout(View.java:14817)
at at android.view.ViewGroup.layout(ViewGroup.java:4631)
at at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:1987)
at at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1744)
at at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000)
at at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5670)
at at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
at at android.view.Choreographer.doCallbacks(Choreographer.java:574)
at at android.view.Choreographer.doFrame(Choreographer.java:544)
at at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
at at android.os.Handler.handleCallback(Handler.java:733)
at at android.os.Handler.dispatchMessage(Handler.java:95)
at at android.os.Looper.loop(Looper.java:136)
at at android.app.ActivityThread.main(ActivityThread.java:5017)
at ... 5 more