[android][Note] signing apk

這篇給自己筆記一下

在android開發上,應用程式(apk)都需要經過簽署,跟一般情況比較不同的是你可以用自我簽署的方式去做,不一定真的需要向信任的憑證機構去申請憑證。

而在開發上,在除錯模式(debug)下,IDE會自動幫你產生debug用的憑證,而debug的憑證會有時間的限制(預設是365天),時間到了在做debug的時候會發生錯誤,這個時候要把舊的憑證給刪除,詳細憑證相關的資訊可以參考下面這邊

Signing your application

部分原文
To fix this problem, simply delete the debug.keystore file. The default storage location for AVDs is in ~/.android/ on OS X and Linux, in C:\Documents and Settings\\.android\ on Windows XP, and in C:\Users\\.android\ on Windows Vista and Windows 7.

留言

這個網誌中的熱門文章

開啟cshtml檔案時,出現『並未將物件參考設定為物件執行個體』的錯誤訊息

無法設定中斷點 尚未載入符號檔

DataGridView欄位計算總合