Android sdk 23 not found

My Android build is failing with the following stacktrace:

* What went wrong:
A problem occurred configuring project ':module'.
> Failed to notify project evaluation listener.
   > failed to find target android-23 : /usr/local/android-sdk-linux
   > failed to find target android-23 : /usr/local/android-sdk-linux

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.


export TERM="dumb"
if [ -e ./gradlew ]; then ./gradlew dependencies;else gradle dependencies;fi
 returned exit code 1

So how come isn’t it finding Android M sdk while it’s supposedly pre-installed on the machine?
Any idea appreciated :smile:

Is this a public project? If so can you put the build URL here? If not, can you PM me the build URL?

I am having the same issue with circleci not finding android-22. When I ssh into the contain and poke around in the android-sdk-linux directory, only android-23 is available - the android documentation says there is much much more available though.

I’m on an enterprise plan and will not be able to share the build url.