Google +1 Button errors in implementation in Android -


i'm trying add google +1 button android app. have problems it. in https://developers.google.com/+/mobile/android/getting-started, next in https://developers.google.com/+/mobile/android/recommend without results. when i'm using app code second link nullpointerexception... how work? google made mistake or what? also, after importing lib, in layout when put google plus button - had error " unable instantiate...". should do? example app in sdk not working me (nullpointerexception?!) . same thing when initialize mplusonebutton , mplusclient before calling mplusonebutton.initialize in onresume. got work?

i checked sample code, if you're getting nullpointer exception @ findviewbyid, think forgot add setcontentview call in oncreate.

can't guess else without looking @ code , logcat.


Comments