logo
40
6
WeChat Login

Android Demo Project

badge badge badge

In this example, you will use Cloud Native Build (CNB) to package the "android-demo" project.

Prerequisites

  1. Use Cloud Native Build (CNB) to build your project
  2. Declarative build cache

cnb.yml Configuration

master:
  push:
    - docker:
        # Find required Android SDK version docker images on hub.docker.com
        # https://hub.docker.com/r/mobiledevops/android-sdk-image
        # https://github.com/docker-android-sdk
        # When none meet your requirements, you can create your own docker image with needed SDK version and tools
        image: mobiledevops/android-sdk-image:34.0.1
        volumes:
          - /root/.gradle:cow
      stages:
        - name: android-build
          script: ./gradlew build
        - name: "ls"
          script: ls ./app/build/outputs/apk/release

Getting Started

cnb-init-from https://cnb.cool/examples/ecosystem/android-demo.git

About

example
568.00 KiB
40 forks6 stars2 branches0 TagREADMEMIT license
Language
Kotlin100%