language: android
dist: trusty
android:
  components:
    - platform-tools
    - tools
    - build-tools-29.0.2
    - android-28
    - sys-img-armeabi-v7a-android-28
    - extra-google-google_play_services
    - extra-google-m2repository
    - extra-android-m2repository
    -
# Emulator Management: Create, Start and Wait
before_script:
  - echo no | android create avd --force -n test -t android-28 --abi armeabi-v7a -c 100M
  - emulator -avd test -no-audio -no-window &
  - android-wait-for-emulator
  - adb shell input keyevent 82 &
language: android
dist: trusty
android:
  components:
    - platform-tools
    - tools
    - build-tools-29.0.2
    - android-28
    - sys-img-armeabi-v7a-android-22
    - extra-google-google_play_services
    - extra-google-m2repository
    - extra-android-m2repository
    -
# Emulator Management: Create, Start and Wait
before_script:
  - echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a -c 100M
  - emulator -avd test -no-audio -no-window &
  - android-wait-for-emulator
  - adb shell input keyevent 82 &
Use android 22 emulator for Travis
Use android 22 emulator for Travis
