Skip to content

Publishing a new Funzo based app

Brad Smith edited this page Feb 5, 2017 · 22 revisions

Android

Prerequisites

  1. Clone and build funzo, following the instructions in README.md
  2. Create a Google developer account
  3. Create a developer key and store it in a .keystore file
  4. Install Java
  5. Install the zipalign command-line utility (usually included with Java)
  6. Install the Android developer tools (FIXME: how?)
  7. Run the Android SDK Manager (Android/tools/android) and install the following packages:
  • Android SDK Tools
  • Android SDK Platform Tools
  • Android 6.0 (API 23)
  • In the Extras category...
    • Android Support Repository
    • Google Repository

For each new release

Before you begin, make sure you have a copy of your keystore, and know the name and password of your key.

  1. Open a command-line terminal in your funzo-app directory
  2. Run the following: ember build &&(cd cordova && cordova build android --release)
  • This will print a list of two .apk files when it completes. Paste these into the next command...
  1. Change the .keystore location in the following command, paste the filenames output by the last command at the end of it, and run it: ./scripts/sign_apk.sh /PATH/TO/MY.keystore PASTE_APK_FILENAMES_HERE
  2. You should now see two .apk files when you run ls *.apk
  3. Log into the Play Developer Console
  4. FIXME: include upload/publish instructions
Clone this wiki locally