2016-04-26 46 views

回答

2

你需要得到重點用於發佈版

https://developers.google.com/maps/documentation/android-api/signup#release-cert

對於Linux或OS X,打開一個終端窗口,輸入以下命令:

keytool -list -v -keystore YOUR_KEY_PATH 

對於Windows Vista和Windows 7,運行:

keytool -list -v -keystore YOUR_KEY_PATH 

在我的情況,我使用Linux和我的命令w如:

keytool -list -v -keystore ~/projects/keys/myapp.jks 

並得到結果

Alias name: ALIAS NAME 
Creation date: Jan 01, 2013 
Entry type: PrivateKeyEntry 
Certificate chain length: 1 
Certificate[1]: 
Owner: CN=Android Release, O=Android, C=US 
Issuer: CN=Android Release, O=Android, C=US 
Serial number: 4aa9b300 
Valid from: Mon Jan 01 08:04:04 UTC 2013 until: Mon Jan 01 18:04:04 PST 2033 
Certificate fingerprints: 
    MD5: AE:9F:95:D0:A6:86:89:BC:A8:70:BA:34:FF:6A:AC:F9 
    SHA1: BB:0D:AC:74:D3:21:E1:43:07:71:9B:62:90:AF:A1:66:6E:44:5D:75 
    Signature algorithm name: SHA1withRSA 
    Version: 3 
+0

我不明白的東西。在哪裏寫這行? keytool -list -v -keystore YOUR_KEY_PATH 我使用的是Windows 7 – olash12345

+0

Keytool是一個Java工具,您可以在此答案後找到它http://stackoverflow.com/a/14736396/2697368 – Gorio

+0

無法打開Keytool ... – olash12345

相關問題