Bitbucket pipelines A problem occurred configuring project ':app'. > You have not accepted the license agreements of the following SDK components:
this is my build.sh
#!/bin/sh
# Add Android SDK license in a default file
mkdir -p "{$ANDROID_HOME}/licenses"
echo -e "<My license>" > "{$ANDROID_HOME}/licenses/android-sdk-license"
echo -e "<My license>" > "{$ANDROID_HOME}/licenses/android-sdk-preview-license"
# Build the app
./gradlew assembleProductionRelease
this is my bitbucket-pipelines.yml
image: uber/android-build-environment:latest
pipelines:
default:
- step:
script:
- unset ANDROID_NDK_HOME
- echo “Start default step”
- bash ./build.sh
- echo "Amazing"
PS:im using bitbucket pipeline, ur link is using local android sdk.
What am I missing?