From efd08abf41b4a702e929906e0636c7fe02646175 Mon Sep 17 00:00:00 2001 From: jkoan Date: Wed, 15 Jan 2020 21:59:34 +0100 Subject: fix:build:android:Fix android build on circleci, now usinf ndk version of the circleci images tested with command: circleci local execute --job build_android --- .circleci/config.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d936b010b..2ae41da7c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -78,26 +78,18 @@ jobs: build_android: working_directory: ~/code docker: - - image: circleci/android:api-29 + - image: circleci/android:api-29-ndk environment: JVM_OPTS: -Xmx3200m GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"' steps: - checkout - run: if scripts/check_need_build.sh; then circleci step halt; fi - - run: - name: Id - command: cat /etc/*release - run: name: Install ant cmake gettext libsaxonb-java librsvg2-bin pkg-config rename command: | sudo apt-get update sudo apt-get install -y ant cmake gettext libsaxonb-java librsvg2-bin pkg-config rename - - run: - name: Install ndk - command: | - echo y | sdkmanager --licenses - echo y | sdkmanager ndk-bundle - run: name: Build for Android command: bash scripts/build_android.sh -- cgit v1.2.1