hharry_tech hharry_tech - 2 months ago 70
Android Question

How to resolve issue of "com.google.android.gms.auth.api.signin.internal.SignInHubActivity" ActivityNotFoundException in google signin integration

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

Answer

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 singin working fine.... Thank you

Comments