'. '

GooglePlay

From APIDesign

Revision as of 20:47, 25 July 2014 by JaroslavTulach (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Today I decided to publish my MineSweeper on Google Play store. Here are some notes, for me and others who would consider publishing DukeScript app there:

The repository snapshot used: http://source.apidesign.org/hg/html~demo/rev/fce7972a0078

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>

After applying the patch following commands were executed:

$ cd minesweeper
$ mvn clean install -Pdlvkbrwsr
$ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1  target/mine*apk dlvkbrwsr
$ sdk/tools/zipalign -f -v 4  ~/minesweeper-2.0.apk
Personal tools
buy