Build your Android project with docker
95
Please add into your before_script following lines:
export ANDROID_HOME=/root/android-sdk-linux
export PATH=$PATH:$ANDROID_HOME/platform-tools/
chmod +x ./gradlew
Use this script for a debug build
./gradlew assembleDebug
Or this one for release build (or another one flavor)
./gradlew assembleRelease
Tags description: [SDK_TOOLS_VERSION]_[BUILD_TOOLS_VERSION]_[TARGET_SDK]
Content type
Image
Digest
Size
1.3 GB
Last updated
over 8 years ago
docker pull franicflow/android:3859397_25.0.2_23