Android sdk 23 not found

android
gradle

#1

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.

BUILD FAILED


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:


How to resolve failed to find target with hash string 'android-25'?
#2

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


#3

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.


#4