Hi!

I am trying to use the Google Plus sign in/out buttons in my own "Settings" 
activity within my app, but I have found no way to do it. I tried cutting 
and pasting the button from the example app layout to my own activity 
layout, but it raises the following error:

com.google.android.gms.common.SignInButton failed to instantiate.

Then, I tried to import such thing from my Settings Activity class, right 
like:

import com.google.android.gms.common.SignInButton;

and even:

com.google.android.gms.common.*;

also, but the same *failed to instantiate* error persists after that.

So, any ideas?

I know I could simply duplicate all these resources in my own app, but as 
far as the example app does not do that, there should be a better way...

Bests,

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to