Fix Travis build

This commit is contained in:
Aidan Follestad 2019-04-18 17:20:09 -07:00
parent 5fc1569099
commit a6670e2bea

View file

@ -3,12 +3,12 @@ jdk: oraclejdk8
android:
components:
- tools # to get the new `repository-11.xml`
- tools # see https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943)
- tools
- platform-tools
- build-tools-28.0.3
- android-24
- android-28
- sys-img-armeabi-v7a-android-21
- sys-img-arm64-v8a-android-24
licenses:
- '.+'
@ -21,8 +21,8 @@ env:
# Emulator Management: Create, Start and Wait
before_script:
- android list target
- echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a
- emulator -avd test -no-skin -no-audio -no-window &
- echo no | android create avd --force -n test -t android-24 --abi default/arm64-v8a
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
-