Spencer Killen <mailto:spleen.mas...@gmail.com>
2014 June 27 at 14:05
I'm trying to build a packaged app with mozilla-apk-cli but when I try it tells me I need to install unzip and zip from Info-zip. But the Info-zip site is beyond dated and the .msi I ran from there doesn't appear to have done anything. How am I expected to do this?
[Sorry for the delayed response. Your message just arrived in my Inbox!]

I see this too when attempting to build a packaged app with mozilla-apk-cli on my Windows 7 x64 VM.

The Info-ZIP project's website is indeed dated, but its Wikipedia page <http://en.wikipedia.org/wiki/Info-ZIP> says that it remains active, and Mozilla ships its software in our MozillaBuild meta-installer <https://wiki.mozilla.org/MozillaBuild>.

So one option would be to install and use MozillaBuild. But you should also be able to install just zip/unzip. I didn't see an MSI, but I downloaded and expanded these archives containing the latest 32-bit Windows versions of zip and unzip:

 * ftp://ftp.info-zip.org/pub/infozip/win32/unz600xn.exe
 * ftp://ftp.info-zip.org/pub/infozip/win32/zip300xn.zip


Then I created the directory C:\Program Files (x86)\Info-ZIP, put the binaries into it, and added that directory to the path via Control Panel > System and Security > System > Advanced system settings > Environment Variables... > System variables > Path > Edit....

Afterward, I was able to use mozilla-apk-cli to generate an APK for a packaged app:

C:\Users\myk>mozilla-apk-cli Z:\myk\Mozilla\gaia\dev_apps\template template.apk
Building with https://controller-review.apk.firefox.com
APK file is available at template.apk

-myk

_______________________________________________
dev-webapps mailing list
dev-webapps@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-webapps

Reply via email to