From 5821e418c198f32cfb95f28ffaf0376f8beb1d1c Mon Sep 17 00:00:00 2001 From: Valdis Vitolins Date: Tue, 4 Dec 2018 16:32:29 +0200 Subject: [PATCH] android: update configuration files: - remove unsupported hardware platforms - udpate dependencies and versions of tools --- android/build.gradle | 10 +++++++--- android/jni/Application.mk | 4 ++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 2a890d03..97ba73d1 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -2,9 +2,10 @@ buildscript { repositories { mavenCentral() jcenter() + google() } dependencies { - classpath 'com.android.tools.build:gradle:2.3.3' + classpath 'com.android.tools.build:gradle:3.2.1' } } @@ -12,14 +13,17 @@ apply plugin: 'com.android.application' repositories { mavenCentral() + jcenter() + google() } dependencies { - androidTestCompile 'org.hamcrest:hamcrest-all:1.3' + testImplementation 'junit:junit:4.12' + androidTestImplementation 'org.hamcrest:hamcrest-all:1.3' } android { - buildToolsVersion '25.0.3' + buildToolsVersion '28.0.3' compileSdkVersion 26 defaultConfig { diff --git a/android/jni/Application.mk b/android/jni/Application.mk index a292fa64..091c8c07 100644 --- a/android/jni/Application.mk +++ b/android/jni/Application.mk @@ -1,4 +1,4 @@ APP_OPTIM := release -APP_PLATFORM := android-14 +APP_PLATFORM := android-26 APP_TOOLCHAIN_VERSION := 4.6.3 -APP_ABI := mips armeabi armeabi-v7a x86 +APP_ABI := armeabi-v7a x86