问题
I believe I have just run into this bug https://bugzilla.xamarin.com/show_bug.cgi?id=4902 on my Nexus 4 now that I have updated to android 4.3.
Basically, when JSON.NET tries to get the timezone via the mono runtime, we get a null reference exception because there are issues with an environment variable in certain android builds.
The same code worked fine before I updated and still works fine on other android devices. Are there any workarounds available for this? Is there anything else I can do or am I stuck? Has anyone else run into it recently?
Is there a fix planned in the near future?
回答1:
Xamarin 4.8.2 (alpha) fixes this problem. (As of Sep 3, 2013)
来源:https://stackoverflow.com/questions/18451333/nullreferenceexception-json-net-xamarin-android-android-4-3