2012年7月21日 星期六

Google Map API Key Exception


C:\Program Files\Java\jre7\bin>keytool -list -alias androiddebugkey -keystore de
bug.keystore -storepass android -keypass android
金鑰工具錯誤: java.lang.Exception: 金鑰儲存庫檔案不存在: debug.keystore



金鑰工具錯誤: java.io.FileNotFoundException: yourkeyname.keystore (存取被拒。)
java.io.FileNotFoundException: yourkeyname.keystore (存取被拒。)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at sun.security.tools.KeyTool.doCommands(Unknown Source)
        at sun.security.tools.KeyTool.run(Unknown Source)
        at sun.security.tools.KeyTool.main(Unknown Source)



Windows x64

請使用最高權限執行cmd 再按照各大網站教學

即可解決此一問題!