'. '

GooglePlay

From APIDesign

(Difference between revisions)
Jump to: navigation, search
(New page: 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:...)
Line 30: Line 30:
$ sdk/tools/zipalign -f -v 4 ~/minesweeper-2.0.apk
$ sdk/tools/zipalign -f -v 4 ~/minesweeper-2.0.apk
</source>
</source>
 +
 +
Once available, the application should be at https://play.google.com/store/apps/details?id=org.apidesign.demo.minesweeper

Revision as of 20:50, 25 July 2014

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

Once available, the application should be at https://play.google.com/store/apps/details?id=org.apidesign.demo.minesweeper

Personal tools
buy