Google Sign In error Status{statusCode=DEVELOPER_ERROR, resolution=null} from same play store app not from same signed apk

痞子三分冷 提交于 2019-12-01 02:30:02

问题


I think this is a bug in android, android studio or google. I am able to login to google through the signed apk. But If I upload the same apk on play store it says me Status{statusCode=DEVELOPER_ERROR, resolution=null}.

I want to know how can it be possible that I am not able to login from the app downloaded from the Play Store and I am able to login when I use the same apk from my PC which I have uploaded to play store.

This should not be DEVELOPER_ERROR this should be ANDROID_ERROR, GOOGLE_ERROR or HOW_TO_IRRITATE_DEVELOPER_BY_ANDROID.

Any suggestions on how to resolve this ANDROID_ERROR which they say DEVELOPER_ERROR.


回答1:


I got this issue few days ago and i solved this by following the google guideliness

1.make sure the google JSON file your adding in App folder must be from the developer account. 2.Update all keys in the firebase account, release and debug key.

3.(important step): there is tab called "App signing" in Release management section in your google play console.

Google has released a new signing service in playstore publish console in which google will signin your app with his keystore. After signing , it will give you a new SHA1 key which you have to add in your firebase account.

after adding that SHA1 key to your Firebase account. try login, it works fine




回答2:


I was using an existing project to create google sign in. I logged the issue on android as well, but didn't get response till now Issue Repoted Here.

So, I created a new Project with new packagename in Android Studio and copied paste all my required files (Resources and Java files only) from previous project. Created a new project for google sign in and followed the procedure by google

Now I was able to sign in properly.

I think (Not Sure) Android Saved some data from previous project in and it was not cleaned even after cleaning and rebuilding the project. So at last I had to create a new project.




回答3:


I faced the same problem ... i searched a lot tell i found the solution here.

"Google has released a new signing service in playstore publish console in which google will signin your app with his keystore. After signing , it will give you a new SHA1 key which you have to add in your firebase account. after adding that SHA1 key to your Firebase account. try login, it works fine"

Thanks to https://stackoverflow.com/users/4943560/sanjay-km



来源:https://stackoverflow.com/questions/45183691/google-sign-in-error-statusstatuscode-developer-error-resolution-null-from-sa

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!