Setting target SDK to 22 to mark app as legacy app which gets storage permissions without having to write request code

This commit is contained in:
Martin Felis
2018-04-15 11:05:23 +02:00
parent 3df1807c6f
commit 7fbf155d82
2 changed files with 8 additions and 8 deletions
+5 -5
View File
@@ -1,14 +1,14 @@
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
compileSdkVersion 22
buildToolsVersion "26.0.2"
defaultConfig {
applicationId "org.love2d.android"
versionCode 24
versionName "11.0.0"
versionCode 25
versionName "11.0.0a"
minSdkVersion 14
targetSdkVersion 25
targetSdkVersion 22
}
buildTypes {
release {
@@ -24,6 +24,6 @@ android {
dependencies {
compile 'com.android.support:multidex:1.0.1'
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:25.1.0'
compile 'com.android.support:appcompat-v7:22.2.0'
compile project(':love')
}
+3 -3
View File
@@ -6,11 +6,11 @@ android {
// See https://code.google.com/p/android/issues/detail?id=52962
// and http://stackoverflow.com/questions/27277433/why-does-gradle-build-my-module-in-release-mode-when-the-app-is-in-debug
// defaultPublishConfig "debug"
compileSdkVersion 25
compileSdkVersion 22
buildToolsVersion "26.0.2"
defaultConfig {
compileSdkVersion 25
compileSdkVersion 22
buildToolsVersion "26.0.2"
minSdkVersion 14
externalNativeBuild {
@@ -49,5 +49,5 @@ android {
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:25.1.0'
compile 'com.android.support:appcompat-v7:22.2.0'
}