14
14
env :
15
15
global :
16
16
- ANDROID_API_LEVEL=26
17
- - EMULATOR_API_LEVEL=26
17
+ - EMULATOR_API_LEVEL=22
18
18
- ANDROID_BUILD_TOOLS_VERSION=26.0.1
19
19
- ANDROID_ABI=armeabi-v7a
20
20
- ANDROID_TAG=google_apis
@@ -34,26 +34,24 @@ android:
34
34
# Google Play Services
35
35
# - extra-google-google_play_services
36
36
# Support library
37
- # - extra-android-support
37
+ - extra-android-support
38
38
# Latest artifacts in local repository
39
39
- extra-google-m2repository
40
40
- extra-android-m2repository
41
41
# Specify at least one system image
42
42
# - sys-img-armeabi-v7a-google_apis-$ANDROID_API_LEVEL
43
- - sys-img-armeabi-v7a -google_apis-$EMULATOR_API_LEVEL
44
-
43
+ - sys-img-$ANDROID_ABI -google_apis-$EMULATOR_API_LEVEL
44
+
45
45
licenses :
46
46
- ' android-sdk-preview-license-52d11cd2'
47
47
- ' android-sdk-license-.+'
48
48
49
49
# Emulator Management: Create, Start and Wait
50
50
before_script :
51
- - echo no | android create avd --force -n test -t android-26 --abi armeabi-v7a
52
- - emulator -avd test -no-audio -no-window &
53
- - android-wait-for-emulator
54
- - adb shell input keyevent 82 &
51
+ - echo no | android create avd --force -n test -t android-$EMULATOR_API_LEVEL --abi google_apis/$ANDROID_ABI
52
+ - emulator -avd test -no-window &
53
+ - android-wait-for-emulator
54
+ - adb shell input keyevent 82 &
55
55
56
56
script :
57
- ./gradlew connectedAndroidTest
58
-
59
-
57
+ - ./gradlew connectedAndroidTest
0 commit comments