travis: properly install ndk

main
Alibek Omarov 5 years ago
parent 9f62dba97e
commit b7be5a12e1
  1. 4
      .travis.yml

@ -4,8 +4,10 @@ android:
components: components:
- android-29 - android-29
- build-tools-28.0.3 - build-tools-28.0.3
- ndk-bundle
before_script: before_script:
- yes | sdkmanager "ndk-bundle"
- export ANDROID_NDK_ROOT=$ANDROID_HOME/ndk-bundle
- export ANDROID_NDK_HOME=$ANDROID_NDK_ROOT
- sed -i "s/blue {}//" app/build.gradle - sed -i "s/blue {}//" app/build.gradle
# - sed -i "s/debug {}//" app/build.gradle # - sed -i "s/debug {}//" app/build.gradle
before_cache: before_cache:

Loading…
Cancel
Save