Saturday, 27 June 2015
gradlew assemble (generate the apk file)
The build types in build.gradle file:
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
When you want to generate apk for your code, you can run :
This command will build buildType -- "release", which also use release as source folder:
This code will use "main" as base code and any codes in "release" folder will override the same class. (res files will be overrided according to each key)
If you want have A new APK with different code, you can create a new folder and then add a new build type, then if it is needed, you should create a new github branch and set a new app in hokcyapp.
Meantime, you also should add new deployment script into travis ci deployment shell script.