File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,12 @@ sudo: true
22language : android
33dist : trusty
44install : true
5+ jdk : oraclejdk8
56
67env :
78 global :
8- - ANDROID_API_LEVEL=22
9+ - ANDROID_API_LEVEL=28
10+ - ANDROID_EMULATOR_API_LEVEL=22
911 - ANDROID_BUILD_TOOLS_VERSION=28.0.3
1012 - ANDROID_ABI=armeabi-v7a
1113
@@ -16,9 +18,6 @@ addons:
1618 branches :
1719 - develop
1820
19- jdk :
20- - oraclejdk8
21-
2221branches :
2322 only :
2423 - develop
@@ -33,9 +32,10 @@ android:
3332 - platform-tools
3433 - build-tools-$ANDROID_BUILD_TOOLS_VERSION
3534 - android-$ANDROID_API_LEVEL
35+ - android-$ANDROID_EMULATOR_API_LEVEL
3636 - extra-google-m2repository
3737 - extra-android-m2repository
38- - sys-img-armeabi-v7a-android-$ANDROID_API_LEVEL
38+ - sys-img-armeabi-v7a-android-$ANDROID_EMULATOR_API_LEVEL
3939
4040 licenses :
4141 - android-sdk-preview-license-.+
@@ -44,9 +44,10 @@ android:
4444
4545before_install :
4646 - yes | sdkmanager "platforms;android-$ANDROID_API_LEVEL"
47+ - yes | sdkmanager "platforms;android-$ANDROID_EMULATOR_API_LEVEL"
4748
4849before_script :
49- - echo no | android create avd --force -n test -t android-$ANDROID_API_LEVEL --abi $ANDROID_ABI
50+ - echo no | android create avd --force -n test -t android-$ANDROID_EMULATOR_API_LEVEL --abi $ANDROID_ABI
5051 - emulator -avd test -no-skin -no-audio -no-window &
5152 - android-wait-for-emulator
5253 - adb shell input keyevent 82 &
You can’t perform that action at this time.
0 commit comments