'. '


From APIDesign

Jump to: navigation, search

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 @@
-                          <apkDebug>debug</apkDebug>
+                          <release>true</release>
+                          <sign>
+                            <debug>false</debug>
+                          </sign>

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.

Personal tools