GooglePlay
From APIDesign
(Difference between revisions)
Line 1: | Line 1: | ||
Time to upgrade old [[MineSweeper]] on [[wikipedia:Google Play|Google Play]] store with new version! Today's [[I]] did it. The steps are actually still the same as a year ago. Here are the notes, useful for me and others who would consider publishing [[DukeScript]] app there: | Time to upgrade old [[MineSweeper]] on [[wikipedia:Google Play|Google Play]] store with new version! Today's [[I]] did it. The steps are actually still the same as a year ago. Here are the notes, useful for me and others who would consider publishing [[DukeScript]] app there: | ||
- | [[MineSweeper]] is now hosted on a [[GitHub]] and the version used before releasing was [https://github.com/jtulach/minesweeper/commit/ | + | [[MineSweeper]] is now hosted on a [[GitHub]] and the version used before releasing was [https://github.com/jtulach/minesweeper/commit/8bcb365e5b2e6d63dce15d4453b030c16a3dbb4 8bcb365]. Then it was necessary to just apply these changes: |
<source lang="diff"> | <source lang="diff"> | ||
Line 22: | Line 22: | ||
</source> | </source> | ||
- | The final state of the repository, ready for [[GooglePlay]] upload is recorded as [https://github.com/jtulach/minesweeper/commit/35a46c493118026abe5ea2dfc702e746b624cbb0 | + | The final state of the repository, ready for [[GooglePlay]] upload is recorded as [https://github.com/jtulach/minesweeper/commit/35a46c493118026abe5ea2dfc702e746b624cbb0 35a46c4] changeset. After applying the patch following commands were executed: |
<source lang="bash"> | <source lang="bash"> |
Current revision
Time to upgrade old MineSweeper on Google Play store with new version! Today's I did it. The steps are actually still the same as a year ago. Here are the notes, useful for me and others who would consider publishing DukeScript app there:
MineSweeper is now hosted on a GitHub and the version used before releasing was 8bcb365. Then it was necessary to just apply these changes:
diff -r fce7972a0078 minesweeper/pom.xml --- a/minesweeper/pom.xml Fri Jul 25 21:20:27 2014 +0200 +++ b/minesweeper/pom.xml Fri Jul 25 22:45:00 2014 +0200 @@ -349,7 +349,10 @@ <resourceDirectory>target/res</resourceDirectory> <classifier>apk</classifier> <attachJar>false</attachJar> - <apkDebug>debug</apkDebug> + <release>true</release> + <sign> + <debug>false</debug> + </sign> <assetsDirectory>src/main/webapp</assetsDirectory> <sdk> <platform>19</platform>
The final state of the repository, ready for GooglePlay upload is recorded as 35a46c4 changeset. After applying the patch following commands were executed:
$ cd minesweeper $ mvn clean install $ cd client-android
And then signing and zipaligning:
$ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 target/mine*apk dlvkbrwsr $ sdk/tools/zipalign -f -v 4 target/mine*apk ~/minesweeper-3.0.apk
Looks like my application is available be at https://play.google.com/store/apps/details?id=org.apidesign.demo.minesweeper - time to re-publish it to AppStore.