From 8a53ad05059760a176317c227ff4c7cb748dcee1 Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Thu, 11 Jul 2019 18:50:14 +0200 Subject: [PATCH] Android: newer version of Gradle plugin Using more recent versions of the Android NDK results in a build failure saying something like "No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android". Mips support went away after Android NDK, Revision r17c, and we are using r18b at this moment. Too old Gradle stuff gets confused by this. The solution is simple. Use a newer version of the Gradle plugin. Signed-off-by: Jan Mulder --- android-mobile/build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/android-mobile/build.gradle b/android-mobile/build.gradle index 4dd4a9f32..893807565 100644 --- a/android-mobile/build.gradle +++ b/android-mobile/build.gradle @@ -7,10 +7,11 @@ buildscript { repositories { jcenter() maven { url "https://dl.bintray.com/android/android-tools/" } + google() } dependencies { - classpath 'com.android.tools.build:gradle:2.3.3' + classpath 'com.android.tools.build:gradle:3.2.1' } } @@ -18,6 +19,7 @@ allprojects { repositories { jcenter() maven { url "https://dl.bintray.com/android/android-tools/" } + google() } }