Skip to content

Instantly share code, notes, and snippets.

@adowning
Last active January 19, 2016 07:57
Show Gist options
  • Select an option

  • Save adowning/9045d37f514d712b18b3 to your computer and use it in GitHub Desktop.

Select an option

Save adowning/9045d37f514d712b18b3 to your computer and use it in GitHub Desktop.
change .. <widget id="com.ionicframework.cfbuilder125314" version="0.0.2" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
to an updated number for value (incremented), very very imporant or
-- your shit will be broke if u didnt do above --
cordova build --release android
important, that -x- behind aliast_name needs to be unique, so if you made an alias_name1 ... make it alias_name2
keytool -genkey -v -keystore my-release-key.keystore -alias alias_name-x- -keyalg RSA -keysize 2048 -validity 10000
important .. nothing needs to be changed here at all if everything is ok
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore C:\cfbuilder\platforms\android\ant-build\MainActivity-release-unsigned.apk alias_name
the one after new is your revision
zipalign -v 4 C:\cfbuilder\platforms\android\ant-build\MainActivity-release-unsigned.apk New1.apk
for google , go here in a browser:
https://play.google.com/apps/publish/?dev_acc=08969903333891692901#AppListPlace
file will be:
C:\cfbuilder>zipalign -v 4 C:\cfbuilder\platforms\android\ant-build\
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment