travis: properly install ndk

This commit is contained in:
Alibek Omarov 2020-01-28 16:11:38 +03:00
parent 9f62dba97e
commit b7be5a12e1

View File

@ -4,8 +4,10 @@ android:
components:
- android-29
- build-tools-28.0.3
- ndk-bundle
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/debug {}//" app/build.gradle
before_cache: