[英]after releasing apk from fluttter google sign in doesn't work
the app in debug mode was working find and everything is good after releasing apk google sign in doesn't work i tried all the possible soultions i checked for the sha1 key and all is good in and added everything in the gradle nothing is missing but still give me error调试模式下的应用程序正在工作 发现并且在发布 apk 谷歌登录后一切都很好 我尝试了所有可能的灵魂 我检查了 sha1 密钥并且一切都很好,并在 gradle 中添加了所有内容,没有任何遗漏,但仍然给我错误
enter image description here在此处输入图像描述
and when i use it in debug it works again like flutter run but if i run fluter install and use the installed apk it doesn't work and it gives this error当我在调试中使用它时,它再次像 flutter 运行但如果我运行 fluter install 并使用已安装的 apk 它不起作用并给出此错误
I had similar problem, in my case with firebase token, this post helped.我有类似的问题,在我的 firebase 令牌的情况下,这篇文章有帮助。 MissingPluginException for quick_actions plugin in release mode 发布模式下 quick_actions 插件的 MissingPluginException
Quote from the accepted answer:引用已接受的答案:
As of now to remove this issue from the release mode I added
shrinkResources false
in the app levelbuild.grade file
of android folder.到目前为止,为了从发布模式中删除此问题,我在 android 文件夹的应用程序级别build.grade file
中添加了shrinkResources false
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.