language: android
sudo: required
jdk:
    - oraclejdk8
android:
  components:
    - tools
    - build-tools-23.0.2
    - android-23
    - extra
# https://github.com/travis-ci/travis-ci/issues/3259
script:
  - sudo apt-get update && sudo apt-get install oracle-java8-installer
  - java -version
language: android
sudo: required
dist: trusty # https://github.com/travis-ci/travis-ci/issues/3259
jdk:
    - oraclejdk8
android:
  components:
    - tools
    - build-tools-23.0.2
    - android-23
    - extra
Use trusty dist for updated Java 8 version
Use trusty dist for updated Java 8 version
