我下面這個教程在這裏:Android的谷歌地圖:獲得API密鑰
http://www.vogella.com/articles/AndroidGoogleMaps/article.html
在我的Mac,我不知道如何做到這一步,讓我的SHA-1:
更新:
,我意識到我已經有一個關鍵原因我建立並簽署我的項目。試圖讓SHA-1被證明是難以用我的Mac上的終端:
Mikes-MacBook-Air:beerPortfolio Mike$ keytool -list -v -alias androiddebugkey \ -keystore bp_key.keystore \ -storepass android -keypass android
keytool error: java.lang.RuntimeException: Usage error, -keystore is not a legal command
java.lang.RuntimeException: Usage error, -keystore is not a legal command
at sun.security.tools.KeyTool.parseArgs(KeyTool.java:375)
at sun.security.tools.KeyTool.run(KeyTool.java:171)
at sun.security.tools.KeyTool.main(KeyTool.java:166)
Mikes-MacBook-Air:beerPortfolio Mike$
請參閱本http://stackoverflow.com/questions/11850556/not-able-to-locate-keytool-on-my-mac-to-sign-my-apk-file http://stackoverflow.com/questions/7292832/cannot-find-keytool-on-a-mac – Aravin
試過命令行代碼,我得到一個錯誤,現在上面提到 – Mike
你有命令行在Mac我沒有使用Mac。 – Aravin