Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

ERROR: Cannot find 'make' program. Please install Cygwin make package

Can't build an Android project. Have the error:
"Cannot find 'make' program. Please install Cygwin make package"

I use ndk in my project.
My config: 

# This is a sample build configuration for Java (Gradle).
# Check our guides at for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: java:8

- step:
- gradle
- android-sdk

# Download and unzip android sdk
- wget --quiet
- unzip -o -qq -d android-sdk

# Define Android Home and add PATHs
- export ANDROID_HOME="/opt/atlassian/pipelines/agent/build/android-sdk"
- export PATH="$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:$ANDROID_HOME/platform-tools:$PATH"
- export ANDROID_NDK_HOME="$ANDROID_HOME/ndk-bundle"

# Download packages.
- yes | sdkmanager "platform-tools"
- yes | sdkmanager "platforms;android-27"
- yes | sdkmanager "build-tools;27.0.3"
- yes | sdkmanager "extras;android;m2repository"
- yes | sdkmanager "extras;google;m2repository"
- yes | sdkmanager "extras;google;instantapps"
- yes | sdkmanager "ndk-bundle"
- yes | sdkmanager --licenses

# Build apk
- chmod a+x ./gradlew
- ./gradlew assembleDebug

android-sdk: android-sdk


1 answer

0 votes
mkleint Atlassian Team Oct 09, 2019

It's unclear what expects the make tool to be present and what should install it and how.


To debug the problem, try running the base image via docker interactively on your local machine and reproduce all the steps from pipeline.

```docker run --rm --entrypoint /bin/sh -ti java:8```


Alternatively there appear to be docker images with android sdk, like that could do the job as well. (I haven't done any android development myself so no idea if that fits your usecase).

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,237 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you