[英]Using Android Studio Android app Working Google plus on device but when downloaded from play store Not Work
When I build and deploy this app on my device via USB using Android Stdio, it works as expected.当我使用 Android Stdio 通过 USB 在我的设备上构建和部署这个应用程序时,它按预期工作。 But, when, I upload and download this app from play store, Google+ login not working, It showing a blank screen.但是,当我从 Play 商店上传和下载此应用程序时,Google+ 登录无效,显示空白屏幕。
Basically this error will be occured when your application SHA key has been not matched with SHA key of google console.This key will be different from release and debug environment.基本上当您的应用程序 SHA 密钥与 google 控制台的 SHA 密钥不匹配时,就会发生此错误。此密钥将与发布和调试环境不同。 Whenever you will changing development machine/computer this key will be changing.每当您更改开发机器/计算机时,此密钥都会更改。 You just need to update SHA key in google console using this link https://console.developers.google.com .您只需要使用此链接https://console.developers.google.com更新谷歌控制台中的 SHA 密钥。 For more details image attached below.有关更多详细信息,请在下面附上图片。
Do you registered new cliend ID (OAuth) in developers console with your new certificate fingerprint (SHA1)?您是否使用新的证书指纹 (SHA1) 在开发者控制台中注册了新的客户端 ID (OAuth)?
(maybe this helps: https://developers.google.com/android/guides/client-auth ) (也许这有帮助: https : //developers.google.com/android/guides/client-auth )
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.