Ok after your comment i realized i have been using CircleCi 2.0
Dominik Grygierzec

It was a problem with Permissions with I fixed by adding these lines above the “ — if [ -f ./grade … “-Line :

- echo y | android update sdk --no-ui --all --filter tools,platform-tools,build-tools-21.1.2,android-21,extra-google-m2repository,extra-google-google_play_services,extra-android-support
- chmod +x gradlew
- ANDROID_HOME=/usr/local/android-sdk-linux ./gradlew dependencies
Like what you read? Give Dominik Grygierzec a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.