發表文章

目前顯示的是 2月, 2013的文章

[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.