Can't build android-27, build-tools-27.0.3

build-image
android
docker
api
circle.yml

#1

Can any one help me?
error is like this

and build gradle is

and my yml is

version: 2.0
jobs:
  build:
    working_directory: ~/code
    docker:
      - image: circleci/android:api-27-alpha
    environment:
      JVM_OPTS: -Xmx3200m
    resource_class: xlarge
    steps:
      - checkout
      - restore_cache:
          key: jars-{{ checksum "build.gradle" }}-{{ checksum  "app/build.gradle" }}
      - run:
          name: Env
          command: source environmentSetup.sh && copyEnvVarsToLocalProperties
      - run:
          name: Download Dependencies
          command: ./gradlew androidDependencies
      - save_cache:
          paths:
            - ~/.gradle
          key: jars-{{ checksum "build.gradle" }}-{{ checksum  "app/build.gradle" }}
      - run:
          name: Run Tests
          command: ./gradlew clean assemblePlayRelease --no-daemon
      - store_artifacts:
          path: app/build/outputs/apk
          destination: reports
      - store_test_results:
          path: app/build/test-results

please help


#2

Hi ! You just have to replace your docker image from api-27-alpha to api-27-node8-alpha


#3

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.