diff --git a/.travis.yml b/.travis.yml
index d425de4f1..ecc3a426c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,8 @@
 language: android
 android:
   components:
-  - build-tools-27.0.1
-  - android-26
+  - build-tools-27.0.2
+  - android-27
   - extra-android-m2repository
   - extra-google-m2repository
   - extra-android-support
@@ -10,6 +10,7 @@ android:
   licenses:
   - android-sdk-license-.+
 before_install:
+- yes | sdkmanager "platforms;android-27" # workaround for accepting the license
 - if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
     openssl aes-256-cbc -K $encrypted_e56be693d4fd_key -iv $encrypted_e56be693d4fd_iv -in "$PWD/.travis/secrets.tar.enc" -out secrets.tar -d;
     tar xf secrets.tar;