Skip to content

Commit df3bd8a

Browse files
committed
Fix CI Environment for Android
1 parent 92139d8 commit df3bd8a

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.travis.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ matrix:
2323
script: cd demo && npm run build.plugin && npm i && tns build android --bundle --env.uglify --env.snapshot
2424
- language: android
2525
env:
26-
- BuildAndroid="28"
26+
- BuildAndroid="26"
2727
os: linux
2828
jdk: oraclejdk8
2929
before_install: nvm install stable
@@ -45,7 +45,7 @@ matrix:
4545
sudo: required
4646
jdk: oraclejdk8
4747
before_script:
48-
- echo no | android create avd --force -n test -t android-21 -b armeabi-v7a
48+
- echo no | android create avd --force -n test -t android-22 -b armeabi-v7a
4949
- emulator -avd test -no-audio -no-window &
5050
- android-wait-for-emulator
5151
before_install:
@@ -60,10 +60,20 @@ matrix:
6060

6161
android:
6262
components:
63-
- build-tools-28.0.3
64-
- android-28
63+
# Uncomment the lines below if you want to
64+
# use the latest revision of Android SDK Tools
65+
# - tools
66+
# - platform-tools
67+
# The BuildTools version used by your project
68+
- build-tools-26.0.2
69+
# The SDK version used to compile your project
70+
- android-26
71+
# Additional components
6572
- extra-android-m2repository
66-
- sys-img-armeabi-v7a-android-21
73+
# Specify at least one system image,
74+
# if you need to run emulator(s) during your tests
75+
# - sys-img-x86-android-26
76+
- sys-img-armeabi-v7a-android-17
6777

6878
before_install:
6979
- sudo pip install --upgrade pip

0 commit comments

Comments
 (0)