Can't distribute XF android app

stesvisstesvis USMember ✭✭✭

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

  • kentuckerkentucker USMember ✭✭✭✭✭

    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

  • stesvisstesvis USMember ✭✭✭
    edited October 2017
    @kentucker i have 10.0.3 in my api project but 10.0.0 is not even in the list.
    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.
  • kizanlikkizanlik TRMember ✭✭

    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.

Sign In or Register to comment.