Error after adding package Xamarin.GooglePlayServices.Plus

RollinartRollinart USMember ✭✭

After Xamarin.GooglePlayServices.Plus package adding to the project and starting project compilation process I recieve this error:

error: package com.google.android.gms.plus.PlusOneButton does not exist
com.google.android.gms.plus.PlusOneButton.OnPlusOneClickListener BrainStartv3.Android

in this code:
`package mono.com.google.android.gms.plus;

public class PlusOneButton_OnPlusOneClickListenerImplementor
extends java.lang.Object
implements
mono.android.IGCUserPeer,
com.google.android.gms.plus.PlusOneButton.OnPlusOneClickListener
{
/** @hide */
public static final String __md_methods;
static {
__md_methods =
"n_onPlusOneClick:(Landroid/content/Intent;)V:GetOnPlusOneClick_Landroid_content_Intent_Handler:Android.Gms.Plus.PlusOneButton/IOnPlusOneClickListenerInvoker, Xamarin.GooglePlayServices.Plus\n" +
"";
mono.android.Runtime.register ("Android.Gms.Plus.PlusOneButton+IOnPlusOneClickListenerImplementor, Xamarin.GooglePlayServices.Plus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", PlusOneButton_OnPlusOneClickListenerImplementor.class, __md_methods);
}

public PlusOneButton_OnPlusOneClickListenerImplementor () throws java.lang.Throwable
{
    super ();
    if (getClass () == PlusOneButton_OnPlusOneClickListenerImplementor.class)
        mono.android.TypeManager.Activate ("Android.Gms.Plus.PlusOneButton+IOnPlusOneClickListenerImplementor, Xamarin.GooglePlayServices.Plus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "", this, new java.lang.Object[] {  });
}


public void onPlusOneClick (android.content.Intent p0)
{
    n_onPlusOneClick (p0);
}

private native void n_onPlusOneClick (android.content.Intent p0);

private java.util.ArrayList refList;
public void monodroidAddReference (java.lang.Object obj)
{
    if (refList == null)
        refList = new java.util.ArrayList ();
    refList.add (obj);
}

public void monodroidClearReferences ()
{
    if (refList != null)
        refList.clear ();
}

}
`
How can i fix the error with Xamarin.GooglePlayServices.Plus package?

Sign In or Register to comment.