Skip to content

Instantly share code, notes, and snippets.

@david-read-iii
Forked from framundo/README.md
Last active December 2, 2021 19:50
Show Gist options
  • Save david-read-iii/406f3c9e51ed764300c818cdfe436f9a to your computer and use it in GitHub Desktop.
Save david-read-iii/406f3c9e51ed764300c818cdfe436f9a to your computer and use it in GitHub Desktop.
Android README example

The Guardian News Client

Installation

Clone this repository and import into Android Studio

git clone [email protected]:david-read-iii/<reponame>.git

Configuration

The Guardian API Key in Gradle BuildConfig:

Create a theguardianapikey.properties file in the root project directory with the following info:

ext.key_alias='...'
ext.key_password='...'
ext.store_password='...'

And place both keystores under app/keystores/ directory:

  • playstore.keystore
  • stage.keystore

Build variants

Use the Android Studio Build Variants button to choose between production and staging flavors combined with debug and release build types

Generating signed APK

From Android Studio:

  1. Build menu
  2. Generate Signed APK...
  3. Fill in the keystore information (you only need to do this once manually and then let Android Studio remember it)

Maintainers

This project is mantained by:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment