如前些日子的文章提到,Microsoft Visual Studio 2015 針對 Mobile APP 開發相當友善,近日用其 Cordova 套件來開發,推薦大家使用;今天跟大家介紹如何使用Visual Studio 2015製作Android APP的android-release.apk,以便發佈到Google Play。
[製作keystore]
- Cordova建置Android APP分為兩個階段,分別為Debug、Release,上架至Google Play上的APP需要開發者的金鑰簽署,以下是簽署指令
- 使用jdk的keytool製作金鑰,一般而言放置路徑會在C:\Program Files\Java\jre1.8.0_91\bin
#keytool -genkey -alias your-key-name.keystore -keyalg RSA -validity 20000 -keystore you-key-name.keystore
[設定keystore資訊於Cordova專案]


