Start a new topic

Problems using Xamarin via Nuget

When I add the Kinvey android nuget it adds the Kinvey package as well.

The problem is that Resource.designer.cs has 1181 errors after adding the libraries.

Any suggestions?

Good afternoon Jason,

I was hoping to get some more information from you.  

Our engineer Ed goes into a good amount of details about the library, how it's structured, and how it works over in this blog post:

That being said, I'm wondering if you did a clean and build before trying to compile?  What version of Android are you targeting?   It bears mentioning that you have to compile with 5.0, but you can target earlier platforms.  


I create an Android application project.

Not sure whether it matters but I'm using the following:

Xamarin Studio

Version 5.8.3 (build 1)

Installation UUID: 61a8c087-cb19-4bf2-9698-8a78c6a9c361


 Mono 3.12.1 ((detached/0849ec7)

 GTK+ 2.24.23 (Raleigh theme)

 Package version: 312010003


Version: (Indie Edition)

Android SDK: /Users/jasonwarford/Library/Developer/Xamarin/android-sdk-macosx

 Supported Android versions:

  2.1 (API level 7)

  2.2 (API level 8)

  2.3 (API level 10)

  3.1 (API level 12)

  4.0.3 (API level 15)

  4.4 (API level 19)

  5.0 (API level 21)

Java SDK: /usr

java version "1.7.0_71"

Java(TM) SE Runtime Environment (build 1.7.0_71-b14)

Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

I've verified that that the minSDK is set to api 21 (5.0) and target version is set to api 21.

I add the kinvey-xamarin-android nuget package with also adds the kinvey-xamarin and kinvey-utils.

Attempt to build.

It does not build and the errors are generated.

Here is a partial screen shot:

If I can provide any more information or details please let me know.


Good morning Jason,

I spoke with our engineer that maintains the Xamarin library and it appears as though the latest version of Xamarin studio has broken a great deal of functionality that Kinvey offers.   The good news is that Ed is working tirelessly to get it up and running again.   We hope to have a new version pushed out by this time next week that addresses the issues that have cropped up.



I'll check it out again once the work is complete.


We released Xamarin 1.4.0 today, which should address the resource issue that you had with this release.

It would be wonderful if you could give the library another shot.


I tried again and was still receiving errors.

Verified that Kinvey 1.4.0 and Kinvey-Android 1.4.0 were installed.

I just created a new Android project. Installed the Kinvey libraries and there are 1243 errors in the Resource.designer.cs file.

Tried to clean project and build but had the same results.

Thanks for letting us know Jason, 

We are looking into it now.   Can you confirm which version of Xamarin studio you're using and which platform you're targeting?


Error : Unable to find a constructor to use for type KinveyXamarin.KinveyAuthResponse. A class should either have a default constructor, one constructor with arguments or a constructor marked with the JsonConstructor attribute. Path 'username', line 1, position 12. On iOS device (iOS simulator works)


Thanks for letting us know about this Harshad,

We will look into this shortly.



Can you please confirm the version of the Kinvey Xamarin library you're using and the version of iOS you're targeting?



I'm also facing the same issue. I checked version 1.5.1, 1.5.2 and 1.5.3, but no success till now.

Xamarin Stuido version is 5.9.5 (Enterprise Edition) and iOS 8.4 targeting version of device.

I'm trying below code

private Client myClient;
myClient = new Client.Builder ("kid_PeYFqjBcBJ","3fee066a01784e2ab32a255151ff761b").build ();
        await myClient.User ().LoginAsync ();



(211 KB)
Refer this link  : Kinvey Xamarin iOS
It's working fine.



The gentleman that posted on that thread ("Ed The Third") is our Engineer Edward, the owner of the Xamarin library.   I mentioned this issue to him earlier today and through some rubber duck debugging he managed to think out the issue.

Let us know if you run into anything else!


1 person likes this
Please refer this link  Xamarin with Kinvey database

I have ask my issue in stack overflow. please help me

Login or Signup to post a comment