From ba5412d289c54837ba011e5c5cdca65dd754192f Mon Sep 17 00:00:00 2001 From: Jonas Jongejan Date: Sun, 4 Mar 2018 14:37:59 -0500 Subject: [PATCH] Set target sdk version to 25 --- addons/ofxAndroid/ofAndroidLib/build.gradle | 2 +- libs/openFrameworksCompiled/project/android/build.gradle | 3 ++- scripts/templates/android/build.gradle | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/addons/ofxAndroid/ofAndroidLib/build.gradle b/addons/ofxAndroid/ofAndroidLib/build.gradle index e2994e209a6..4420067f5ae 100644 --- a/addons/ofxAndroid/ofAndroidLib/build.gradle +++ b/addons/ofxAndroid/ofAndroidLib/build.gradle @@ -6,7 +6,7 @@ model { buildToolsVersion = "25.0.3" defaultConfig.with { minSdkVersion.apiLevel 19 - targetSdkVersion.apiLevel 19 + targetSdkVersion.apiLevel 25 versionCode 1 versionName "1.0" } diff --git a/libs/openFrameworksCompiled/project/android/build.gradle b/libs/openFrameworksCompiled/project/android/build.gradle index 960a2c732fb..ddc04830821 100644 --- a/libs/openFrameworksCompiled/project/android/build.gradle +++ b/libs/openFrameworksCompiled/project/android/build.gradle @@ -14,10 +14,11 @@ model { defaultConfig.with { minSdkVersion.apiLevel 19 - targetSdkVersion.apiLevel 19 + targetSdkVersion.apiLevel 25 } ndk { + platformVersion = "19" moduleName "openFrameworksLib" toolchain = buildToolchain() stl = compilerStl() diff --git a/scripts/templates/android/build.gradle b/scripts/templates/android/build.gradle index b1cab12c711..aede5c1a466 100644 --- a/scripts/templates/android/build.gradle +++ b/scripts/templates/android/build.gradle @@ -31,7 +31,7 @@ model { defaultConfig.with { minSdkVersion.apiLevel = 19 - targetSdkVersion.apiLevel = 19 + targetSdkVersion.apiLevel = 25 versionCode = 1 versionName = "1.0" } @@ -41,6 +41,7 @@ model { moduleName = ofAppModuleName() toolchain = buildToolchain() stl = compilerStl() + platformVersion = "19" } android.sources {