我正在尝试在Mac上提取MD5指纹,面临着两个问题:
1)我的用户在哪里我在系统的任何地方都找不到.android文件,它应该在/Users/tugce/.android/debug.keystore
2)当我运行Keytool.exe程序时,我得到这个错误
-bash: /Users/tugce/Desktop/android/setup/jdk1.7.0/bin/keytool: cannot execute binary file
logoutED -keystore :我猜在mac os x平台上不需要运行Keytool.exe,直接进入终端并编写keytool -list -keystore~/..android/İ.keystore这将为您提供MD5指纹
有什么解决方案吗?
发布于 2011-08-04 16:15:04
请检查以下内容:
http://code.google.com/android/add-ons/google-apis/mapkey.html#getdebugfingerprint
http://developer.android.com/guide/publishing/app-signing.html
http://code.google.com/android/add-ons/google-apis/mapkey.html
发布于 2012-04-10 00:12:55
步骤1:
在终端中使用以下命令检查debug.keystore是否位于正确的文件夹中:
cd .android/
ls在此之后,只需输入cd即可转到根文件夹。
第2步:
在根目录中,在终端中运行以下命令:
$ keytool -list -alias androiddebugkey \
-keystore <path_to_debug_keystore>.keystore \
-storepass android -keypass android这在某些时候是行不通的。在这种情况下,请尝试:
keytool -list -keystore ~/.android/debug.keystore第3步:
在终端要求您输入密码("Enter keystore password:")之后,只需输入您的密码即可。
注意!默认密码为空(只需按Enter/return键)
https://stackoverflow.com/questions/6938098
复制相似问题