Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 79144

Updating to 1.5.1 and using AppCompat - Breaks Android LP & M

$
0
0

Hi,

I just updated our android application to 1.5.1 and using AppCompatV7 using this article as a reference. The runs on KitKat but breaks when launching on Lollipop or Marshmallow.

The stack trace as captured by Raygun,

Message: [NullReferenceException: Object reference not set to an instance of an object]

SoniaStudents.Droid.MainActivity.OnCreate(Android.OS.Bundle) in C:\TFS\Cloud\Sonia\Dev\16Q1\Mobile\SoniaStudents\Droid\MainActivity.cs:35

at Android.Support.V4.App.FragmentActivity.n_OnCreate_Landroid_os_Bundle_ (intptr,intptr,intptr)

at (wrapper dynamic-method) object.3af5cf3c-3b4d-459f-be94-ace78520353d (intptr,intptr,intptr)

Any help would be appreciated.

Thanks,
Daniel.


Viewing all articles
Browse latest Browse all 79144

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>