2011-05-05 141 views

回答

0

我想你已經使用了調試密鑰(用於生成唯一密鑰)。 嘗試使用代替使用發行密鑰。 使用以下命令:

keytool -list -keystore fileName.keystore 

上的命令提示符以生成釋放密鑰。 欲瞭解更多詳情,請參閱http://code.google.com/android/add-ons/google-apis/mapkey.html

希望這會爲你工作。

1

這是地圖錯誤的問題。

你必須找到你的debug.keystore文件路徑,然後你必須生成谷歌地圖密鑰。

   In windows: 
       The debug.keystore is mostly found at : 
       C:\Users\UserName\.android\debug.keystore 

       Same is in ubuntu, means in home\user\username\.android\debug.keystore 

       For conveniency: 
       You can download the "Keytool plugin" in android to get the md5 fingerprint. 

       After getting md5 fingerprint, You can obtain the map key from here: 

       https://developers.google.com/android/maps-api-signup 
1

我以前有同樣的問題,問題是,當我們編譯應用程序,並獲得釋放APK,谷歌實際上認爲,應用發佈,所以我們必須去使用它在釋放鍵真正的設備,但一段時間不斷測試和開發應用程序,我們應該使用調試apk。使用調試APK只是去:

YourApplicationFolder \程序\編譯\輸出\ APK \ APP-debug.apk

編譯後或在模擬器中運行。

1

將其作爲已簽名的應用程序並卸載以前的應用程序,然後再次安裝。這將工作,因爲我面臨同樣的問題。