2

我去了https://code.google.com/apis/console/

然后我这样做了:

keytool -v -list -alias ks_ms_ad -keystore W:\eclipse-android-sign\keystore\exampleproject

我转换了输出

SubjectKeyIdentifier [
KeyIdentifier [
0000: HH HH HH HH HH HH HH HH   HH HH HH HH HH HH HH H  /x<s7.@...B.).8.
0010: HH HH HH HH                                        .. .
]
]

HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH;com.exampledomain.exampleproject

谷歌实际上接受了这一点,所以不知何故我把胡言乱语变成了有用的东西。“HH”条目与 Google API 控制台站点中给出的示例相匹配,因此我所做的实际上是正确的可能性很小。

但上面看起来不像我应该怎么读?我真的应该做我所做的编辑吗?我想我会准备好从 keytool 使用 md5 吗?

我得到一个带有缩放按钮 [+] [-] 的空白屏幕,这就是我认为可能有问题的部分原因?

4

2 回答 2

7

看来原因是我搞砸了。(您在我所引用的内容之上找到 SHA1 等)所以只是为了其他人搞砸这个:

调试 keytool 指纹示例:

keytool -list -v -keystore "C:\Users\%your name%\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android
HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH;com.company.product

释放 keytool 指纹示例:

keytool -v -list -alias youralias -keystore W:\keystore\product
HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH;com.company.product

All above can then share the same API key which will have pattern:

a-zA-Z0-9- 

You can get the API key here: https://code.google.com/apis/console/

And find keytool.exe here (example) C:\Program Files\Java\jre7\bin

于 2013-03-13T22:46:11.837 回答
1

I think there was an issue with your key itself in the way it has been signed. The fingerPrint seems odd. Pls. check the SHA1 fingerPrint. Ohk. looks like you have found the issue.

于 2013-03-20T11:27:03.330 回答