/android-project-template

It's template to create an android app without Gradle

Primary LanguageShell

In order to reproduce it with docker (probably easiest way) following steps are required (copy-paste):

docker run -it  denimkqqa/android-sdk-with-kotlinc bash

git clone https://github.com/denimkqqa/android-project-template  && cd android-project-template
cp debug.keystore $ANDROID_HOME/
unzip HelloWorld -d / && cd /HelloWorld
/android-project-template/build.sh

In order to copy apk from docker (if needed) following commands should be executed from another shell window:

$ docker ps  # in results there will be container_id in first colum
$ docker cp container_id:/HelloWorld/build/app.apk ~/Downloads/

In order to use this script without docker following actions are required:

  • Download build-tools (ie 28.0.1) and android source code (ie android-28)
  • Specify environment varibles with path of build tools(export BUILD_TOOLS="path/to/build/tools/") and platform source code (export PLATFORM="path/to/android.jar")
  • build project