Test other way of adding system image
@@ -5,9 +5,9 @@ android:
- tools #Running this twice get's the latest build tools (https://github.com/codepath/android_guides/wiki/Setting-up-Travis-CI)
- platform-tools
- android-28
- - android-22
- build-tools-28.0.3
- extra
+ - sys-img-armeabi-v7a-google_apis-22
licenses:
- 'android-sdk-license-.+'
@@ -19,10 +19,10 @@ notifications:
sudo: required #The build runs out of memory and is killed if we use the container system
before_install:
- - yes | sdkmanager "platforms;android-28" "system-images;android-22;google_apis;armeabi-v7a"
+ - yes | sdkmanager "platforms;android-28"
before_script:
- - echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a -c 100M
+ - echo no | android create avd --force -n test -t android-22 --abi google_apis/armeabi-v7a -c 100M
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
