I have integrated google signin in android app but when run app I getting exception like:
android.content.ActivityNotFoundException: Unable to find explicit activity class {com.example/com.google.android.gms.auth.api.signin.internal.SignInHubActivity};
have you declared this activity in your AndroidManifest.xml?
Can you please tell how I declare SignInHubActivity in AndroidManifest.xml file
Really I was doing very silly mistake. I just declare activity see below...
<activity
android:name="com.google.android.gms.auth.api.signin.internal.SignInHubActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden|adjustPan" />
Now my problem solved. Google signin working fine.... Thank you
Are you using Eclipse with ADT? (Android Development Tools plugin). Have you followed instructions here to set up Google Play services SDK? https://developers.google.com/android/guides/setup
If you set it up correctly, I believe SignInHubActivity definition will be automatically merged into your manifest from Google Play services SDK and you don't need to explicitly declare it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With