Sign-in with google for android not working in release apk
<p>I have added the Google Sign in in my application and made it work by following all the steps in the official documentation.
Everything worked fine, until I generated a signed apk for publishing. The app could not sign in , the</p>
<pre><code>Log.d(TAG, &quot;handleSignInResult:&quot; + result.isSuccess());
</code></pre>
<p>in SignInActivity.java's <code>handleSignInResult()</code> gives the value as <code>false</code>.</p>
<p>I have registered the app on the developer console and provided the SHA1 key for they debug key as well as the release key. I am unable to solve this and couldn't find anything related in the documentation either.</p>