Blogtrottr
海芋小站
提供實用軟體教學,介紹有趣網站及資訊,豐富電腦人生 
Copywriters are the smartest people online

There are two great reasons to become a professional copywriter. Find out today and enroll in this $197 online course.
From our sponsors
thumbnail [Android 開發] 如何在 MAC OS 中建立 KeyStore?
Feb 11th 2014, 17:17, by 張海芋


一般在開發 Android APP 時,如果沒有特別指定,會採用 debugkey 來幫程式做加簽的動作。然而在上架至 Google Play 時, Google 則是會請你先使用自己的簽署檔案 (KeyStore),這樣才會知道 APP 是由誰開發的。而如何在 MAC OS 中建立一個專屬的簽署檔案呢?其實只要一個簡單的指令就可以啦!

首先,先打開終端機,之後輸入以下的程式碼,以及建立 KeyStore 所需的資料就可以了。

$ keytool -genkey -v -keystore drivesample.keystore -alias drivesample -keyalg RSA -keysize 2048 -validity 10000

最後,請把「drivesample」換成你自己的 app 名稱,至於 10000 則是這個 keystore 的有效天數,如果寫成 365,則代表這個 keystore 一年內有效。

覺得這篇文章實用嗎?請按讚來分享給更多好朋友知道唷!
喜歡本站的文章嗎?歡迎透過以下方式追蹤本站
版權說明
本文章發佈於海芋小站,內容僅歡迎「部份」引用,引用時請註明出處及原文連結,謝謝。
若圖像無法顯示,可能因流量太大,敬請重新整理或透過留言與我回報,也歡迎「訂閱」本站文章喔,感恩!!
Related Posts with Thumbnails

This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
arrow
arrow
    全站熱搜

    gallerypp 發表在 痞客邦 留言(0) 人氣()