Categories
discuss

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….

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

Source: stackoverflow
Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Privacy Policy, and Copyright Policy. Content is available under CC BY-SA 3.0 unless otherwise noted. The answers/resolutions are collected from stackoverflow, are licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0 © No Copyrights, All Questions are retrived from public domain..