language: android
jdk:
  - oraclejdk8
android:
  components:
    - tools # to get the new `repository-11.xml`
    - tools # to install Android SDK tools 25.1.x
    - platform-tools
    - build-tools-24.0.3
    - android-24
    - extra-android-m2repository
    - sys-img-armeabi-v7a-android-18
  licenses:
    - 'android-sdk-license-.+'
before_script:
  - echo no | android create avd --force -n test -t android-18 --abi armeabi-v7a
  - emulator -avd test -no-audio -no-window &
  - android-wait-for-emulator
  - adb shell input keyevent 82 &
before_cache:
  - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/

language: android
jdk:
  - oraclejdk8
android:
  components:
    - tools # to get the new `repository-11.xml`
    - tools # to install Android SDK tools 25.1.x
    - platform-tools
    - build-tools-24.0.3
    - android-24
    - extra-android-m2repository
    - sys-img-armeabi-v7a-android-18
  licenses:
    - 'android-sdk-license-.+'
before_script:
  - echo no | android create avd --force -n test -t android-18 --abi armeabi-v7a
  - emulator -avd test -no-window &
  - android-wait-for-emulator
  - adb shell input keyevent 82 &
before_cache:
  - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/

Revert "Revert "Remove -no-audio option.""
Revert "Revert "Remove -no-audio option.""

This reverts commit be3395be096a0da7f061fe38d0fad8a986b45cef.
