【发布时间】:2018-12-17 10:53:45
【问题描述】:
我正在开发Xamarin.Form 应用程序(Android 和 iOS)。想生成发布模式的APK文件上传到Google Play商店。
我已按照this Microsoft docs文章的指示&低于Exception
Google Play 商店:授权:类型初始化器 'Google.Apis.Json.NewtonsoftJsonSerializer' 抛出异常
我已经尝试过以下事情
- 清理我的整个解决方案。
- 删除并重新添加了 Newtonsoft.Json 包(旧版本和新版本都试过)
- 在跳过链接中添加了 Newtonsoft.Json dll 属性中的 Android 选项下的程序集。
请检查一下
【问题讨论】:
-
您使用的是什么版本的 Visual Studio?您应该使用 15.8 或更高版本。
-
更新到 VS2017 15.9,解决了这个问题。
-
我使用的是 5.7.3 版本
标签: android xamarin xamarin.forms xamarin.android apk