如何在Android应用中集成Google登录。 [英] How to integrate Google login in android app.

查看:401
本文介绍了如何在Android应用中集成Google登录。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将google登录集成到我的Android应用程序中。

但是在教程中获取错误和方法已经过时了。

任何人都可以提供有关此主题的最新教程适用于更新的方法吗?

谢谢。



我尝试过:



我尝试过旧教程,但其中的方法已经过时,因此失败了。

解决方案

你好,

互联网上有很多过时的教程。

这里我最近发现了一个最新的我的培训生之一的Android google登录教程。

你需要先在谷歌开发者控制台上制作应用程序。

然后给你的应用程序的包名和SHA-1到谷歌开发者控制台并从那里下载JSON文件。

在你的项目中包含这个JSON文件,其中包含一些java代码,用于在你的android ap中集成google登录第

I am trying to integrate google login in my android app.
But getting errors and methods in tutorials are outdated.
Can anyone provide latest tutorial on this topic which works well with updated methods?
Thanks.

What I have tried:

I have tried with old tutorial but methods in that were outdated so failed.

解决方案

Hello,
There are plenty of outdated tutorial are there on internet.
Here I have recently found a latest
android google login tutorial for one of my trainee.
You will need to make app in google developer console first.
Then give your app's package name and SHA-1 to google developer console and download JSON file from there.
Include this JSON file in your project with some java code to integrate google sign in in your android app.


这篇关于如何在Android应用中集成Google登录。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆