您指定的签名指纹已被其他的Andr​​oid OAuth2用户端 [英] The signing fingerprint you specified is already used by another Android OAuth2 client

查看:3498
本文介绍了您指定的签名指纹已被其他的Andr​​oid OAuth2用户端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

前段时间,我创建了一个例子项目(可以称之为示例项目)与 OAuth2用户端编号在谷歌API的控制台android应用。我还添加了 SHA1指纹和包名(例如com.package.name)。

Some time ago I created an example project (lets call it "example project") with Oauth2 client id for android application in Google APIs console. I also added SHA1 fingerprint and package name (for example com.package.name).

我的错误是,与相同包名的应用程序已经存在。现在,我需要创建一个 OAuth2用户端编号在有效的项目产品包名称的Andr​​oid应用程序 com.package.name SHA1指纹这是我之前。显然,当我尝试添加该指纹我得到了一个错误。

My mistake was that an application with same package name already existed. Now I need to create an Oauth2 client id for android application in the "valid project" with package name com.package.name and with SHA1 fingerprint which I added before. Obviously when I tried to add this fingerprint I got an error.

The signing fingerprint you specified is already used by another Android OAuth2 client.

之后,我想起了示例项目,并删除客户端ID 从这个项目。问题是,我仍然不能添加该指纹的包名 com.package.name 客户端ID 被删除,但仍我有相同的错误之上。

After that I remembered about "example project" and deleted client id from this project. The problem is that I still not able to add this fingerprint for package name com.package.name. Client id is deleted but still I have the same error as above.

所以,我要在另一个项目中使用该指纹为同一程序包名称的可能性?

So do I have a possibility to use this fingerprint for the same package name in another project?

推荐答案

当有一个现有的签名证书指纹(SHA1)在谷歌开发者连接到时出现此错误不同的帐户。

This error occurs when there is an existing SIGNING CERTIFICATE FINGERPRINT (SHA1) on Google Developers linked to a different account.

解决方法是删除正在使用的项目 SHA1 console.developers.google.com 的旧的/不正确的项目。

Solution is to delete the project that is using that SHA1 in console.developers.google.com for the old/incorrect project.

一旦设置你不能改变的SHA1指纹。
请记住,删除项目需要7天才能完全删除。

You cannot change the SHA1 fingerprint once it is set. Remember that deleting the project takes 7 days to completely remove it.

另一种方法是删除 debug.keystore 并生成一个新的有:

Another option is to delete the debug.keystore and generate a new one with:

keytool -genkey -v -keystore debug.keystore -alias androiddebugkey
-storepass android -keypass android -keyalg RSA -validity 14000

记住,你必须以其他方式卸载该应用程序,你得到 [INSTALL_FAILED_UPDATE_INCOMPATIBLE] 错误。

这篇关于您指定的签名指纹已被其他的Andr​​oid OAuth2用户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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