[Build Failure] A problem occurred starting process 'command '/opt/android/android-ndk-r17b/toolchains/mips64el-linux-android-4.9/prebuilt/linux-x86_64/bin/mips64el-linux-android-strip''

android

#1

Hi, I am migrating from 1.0 to 20. but my build is failing at perticulat point
A problem occurred starting process ‘command ‘/opt/android/android-ndk-r17b/toolchains/mips64el-linux-android-4.9/prebuilt/linux-x86_64/bin/mips64el-linux-android-strip’’
My config.yml is:

version: 2
jobs:
  build:
    docker:
      - image: circleci/android:api-27-alpha
    environment:
      JVM_OPTS: -Xmx3200m
    steps:
      - checkout
      - restore_cache:
          key: jars-{{ checksum "build.gradle" }}-{{ checksum  "Involvio/build.gradle" }}
      - run:
          name: Chmod permissions
          command: sudo chmod +x ./gradlew
      - run:
          name: Download Dependencies
          command: ./gradlew androidDependencies
      - save_cache:
          paths:
            - ~/.gradle
          key: jars-{{ checksum "build.gradle" }}-{{ checksum  "Involvio/build.gradle" }}
      - run:
          name: Run Tests
          command: ./gradlew :Involvio:assembleDebug
      - store_artifacts:
          path: app/build/reports
          destination: reports

Other user is also facing this problem


but i am not able to apply the fix mentioned in the link, as i dont have a SHA of working build.
Thanks


#2

Hello,

Can you try the workaround show here: https://github.com/android-ndk/ndk/issues/700

touch /opt/android/android-ndk-r17b/toolchains/mips64el-linux-android-4.9/prebuilt/linux-x86_64/bin/mips64el-linux-android-strip