Hi,
I am trying to distribute v1.4.1 of my android app (the previous 3 worked fine), because I get this error at the end of the process (when I get to the point that I click Upload:
Xamarin.VisualStudio.Publishing.DistributionManager|Error|0|Google Play Store: Authorize
System.TypeInitializationException: The type initializer for 'Google.Apis.Json.NewtonsoftJsonSerializer' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.
Even tho the APK was generated correctly.
I attached the Log. Why suddenly can't I distribute it anymore?
Posts
What version of Newtonsoft.json.net nuget package do you have in your app? It looks like it is look for version 10.0.0 when creating the package
Plus, as of now, none of the mobile projects require Newtonsoft anyway.
The only thing i changed is a Uri pointing to https instead of http like in the last version.
I think you publish your app to Google Play directly. I have similar issues while publishing an app lately. Try Ad-Hoc approach and upload .apk to Google Play manually.