NullReferenceException Json.NET Xamarin.Android android 4.3

五迷三道 提交于 2020-01-15 12:48:08

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!