Skip to content

Instantly share code, notes, and snippets.

@Ehsanul-Hoque
Last active April 8, 2020 20:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ehsanul-Hoque/dae4f4882e569c02b15721c8b349ee8f to your computer and use it in GitHub Desktop.
Save Ehsanul-Hoque/dae4f4882e569c02b15721c8b349ee8f to your computer and use it in GitHub Desktop.
Python code for generating release apk automatically (Part 1)
import constants
# Variables
app_properties_keys = [
{"gradle_key": constants.GRADLE_KEY_APP_NAME, "json_key": constants.JSON_KEY_APP_NAME},
{"gradle_key": constants.GRADLE_KEY_APPLICATION_ID, "json_key": constants.JSON_KEY_PACKAGE_NAME},
{"gradle_key": constants.GRADLE_KEY_THEME_COLOR, "json_key": constants.JSON_KEY_THEME_COLOR}
]
# constants.GRADLE_KEY_KEYSTORE_INFO_FILE was not included in this array, because keystore info won't come from json
company_item = None
input_company_id = -1
input_key_filename = ""
input_store_pass = ""
input_key_alias = ""
input_key_pass = ""
keystore_exists = False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment