I\'ve some problems trying to do G+ Signin. I think the G+ button isn\'t working.
I\'ve tried to clean the project too.
IDE: Android Studio 1.1.0 Play Services:
If you read the Logcat you can see that you have a problem here :
com.nimbus.podchest.LoginActivity.onCreate(LoginActivity.java:25)
So at line 25 in onCreate
function you are trying to cast your activity (LoginActivity
) to android.view.View$OnClickListener
. You can't cast this class like this since there are not related.
You need to add implements OnClickListener
on the definition of your LoginActivity
class to make your cast work.
And now you will be able to just pass your current Activity
to register to the listener:
SignInButton.setOnClickListener(this);