NullReferenceException Json.NET Xamarin.Android android 4.3 [英] NullReferenceException Json.NET Xamarin.Android android 4.3
问题描述
我相信我刚刚遇到了这个错误 https://bugzilla.xamarin.com现在,我已将Nexus 4更新为/show_bug.cgi?id=4902 .
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.
基本上,当JSON.NET尝试通过mono运行时获取时区时,由于某些android版本中的环境变量存在问题,我们会得到null引用异常.
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.
相同的代码在我更新之前可以正常工作,但在其他android设备上仍然可以正常工作.有没有解决方法?还有什么我能做的还是卡住了?最近还有其他人遇到吗?
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?
推荐答案
Xamarin 4.8.2(alpha)修复了此问题. (截至2013年9月3日)
Xamarin 4.8.2 (alpha) fixes this problem. (As of Sep 3, 2013)
这篇关于NullReferenceException Json.NET Xamarin.Android android 4.3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!