From 7b0e72efa8cb1f8e6877fdf622fc9b23088a3de9 Mon Sep 17 00:00:00 2001 From: Robert Theis Date: Sat, 26 Mar 2016 14:40:18 -0700 Subject: [PATCH] Remove Android 2.2 support. Closes #138. --- README.md | 2 +- eyes-two/AndroidManifest.xml | 4 ++-- eyes-two/build.gradle | 4 ++-- tess-two/AndroidManifest.xml | 4 ++-- tess-two/build.gradle | 4 ++-- tess-two/jni/Application.mk | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 5fb5179d0..5c106eda3 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ The `tess-two-test` module contains instrumented unit tests for tess-two. ## Pre-requisites -* Android 2.2 or higher +* Android 2.3 or higher * A v3.02+ [trained data file][tessdata] for a language. Data files must be extracted to the Android device in a subdirectory named `tessdata`. diff --git a/eyes-two/AndroidManifest.xml b/eyes-two/AndroidManifest.xml index 86cbd1be9..5ad2f1817 100644 --- a/eyes-two/AndroidManifest.xml +++ b/eyes-two/AndroidManifest.xml @@ -20,7 +20,7 @@ android:versionName="1.0" > + android:minSdkVersion="9" + android:targetSdkVersion="9" /> diff --git a/eyes-two/build.gradle b/eyes-two/build.gradle index 5250f1b2a..80fefe48d 100644 --- a/eyes-two/build.gradle +++ b/eyes-two/build.gradle @@ -7,8 +7,8 @@ android { buildToolsVersion "23.0.2" defaultConfig { - minSdkVersion 8 - targetSdkVersion 8 + minSdkVersion 9 + targetSdkVersion 9 versionCode 1 versionName "1.0" } diff --git a/tess-two/AndroidManifest.xml b/tess-two/AndroidManifest.xml index f3223bd23..d115c9699 100644 --- a/tess-two/AndroidManifest.xml +++ b/tess-two/AndroidManifest.xml @@ -20,7 +20,7 @@ android:versionName="1.0" > - \ No newline at end of file + diff --git a/tess-two/build.gradle b/tess-two/build.gradle index d1e292d4c..260efa5a3 100644 --- a/tess-two/build.gradle +++ b/tess-two/build.gradle @@ -9,7 +9,7 @@ android { buildToolsVersion "23.0.2" defaultConfig { - minSdkVersion 8 + minSdkVersion 9 targetSdkVersion 22 versionCode 1 versionName "1.0" @@ -130,4 +130,4 @@ bintray { userOrg = user publish = true } -} \ No newline at end of file +} diff --git a/tess-two/jni/Application.mk b/tess-two/jni/Application.mk index 728cfcde0..4576c3284 100644 --- a/tess-two/jni/Application.mk +++ b/tess-two/jni/Application.mk @@ -1,6 +1,6 @@ APP_STL := gnustl_static APP_ABI := armeabi armeabi-v7a x86 mips arm64-v8a x86_64 mips64 APP_OPTIM := release -APP_PLATFORM := android-8 +APP_PLATFORM := android-9 APP_CPPFLAGS += -fexceptions -frtti NDK_TOOLCHAIN_VERSION := clang