I have created an Android app in which I am accessing google calendar. It was working fine a week ago but now it is not showing up the OAuth consent screen, the white popup appears with the loading icon and it keeps spinning. See the screenshot
The error I got is
[com.google.api.client.googleapis.extensions.android.gms.auth.UserRecoverableAuthIOException: needremoteconsent]
After getting the exception I start the intent like this
startActivityForResult(
((UserRecoverableAuthIOException) mLastError).getIntent(),
Conn_frag_google.REQUEST_AUTHORIZATION);
but the OAuth consent screen is not showing up, the loading sign keeps spinning forever.