build release
cordova build android -release
gen key
keytool -genkey -v -keystore com.katencandi.myapp.keystore -alias myapp -keyalg RSA -validity 10000
bind key
jarsigner -verbose -sigalg SHA1withDSA -digestalg SHA1 -keystore com.katencandi.myapp.keystore -signedjar myapp.apk platforms/android/ant-build/CordovaApp-release-unsigned.apk myapp
zip apk
zipalign -f -v 4 myapp.apk myapp-google.apk
完工,上傳
沒有留言:
張貼留言