From c3822d169b679a36626f213d86e49ac2ad3a7a62 Mon Sep 17 00:00:00 2001 From: halx99 Date: Wed, 7 Oct 2020 12:35:08 +0800 Subject: [PATCH] Android travis ci [skip appveyor] (#228) Set python to 2.7.12 --- .travis.yml | 7 +++++++ tools/appveyor-scripts/setup_android.py | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b3ba6c8088..ce08b0f896 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,11 @@ language: cpp +python: + - "2.7.12" +android: + licenses: + - android-sdk-preview-license-.+ + - android-sdk-license-.+ + - google-gdk-license-.+ jobs: include: # osx diff --git a/tools/appveyor-scripts/setup_android.py b/tools/appveyor-scripts/setup_android.py index f0d7f8b9d5..f0d89e2ce1 100644 --- a/tools/appveyor-scripts/setup_android.py +++ b/tools/appveyor-scripts/setup_android.py @@ -87,8 +87,8 @@ def install_android_sdk(): switches = " --verbose --sdk_root=" + ANDROID_SDK + " " cmd1 = SDK_MANAGER + switches packages = [ - "platforms;android-27", - "build-tools;28.0.3", + "platforms;android-28", + "build-tools;29.0.2", "platform-tools", "tools" ]