Android 24 Support?

Just the title. Can’t get a build to find android-24. Timeline for support?

3 Likes

In your circle.yml:

machine:
  java:
    version: openjdk8
dependencies:
  pre:
    - echo y | android update sdk --no-ui --all --filter "tools,android-24,build-tools-24.0.0,platform-tools,extra-android-m2repository,extra-google-m2repository,extra-google-google_play_services"

Takes about a minute to download the necessary bits each time. And your --filter list may vary depending on what dependencies you have (for example maybe you don’t need google_play_services).

I tried to cache_directories to prevent repeated downloads, but it seems to take as long or longer to restore from cache. And even if you do have the files already, android update sdk will download everything again anyway.

1 Like