0
I developed a project in android studio API 23: Android 6.0 (Marshmallow). However, the project should be developed for android 5.0. I would like to know if there is the possibility of doing some kind of downgrade to the version API 21: Android 5.0 (Lollipop) in android studio?
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
applicationId "br.eng.itech.execamera_2019101"
minSdkVersion 23
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}
I believe he just can not run the app on android 5 because of
minSdkVersion 23
, If he changes it to 21 I think he’s got it where he wants it– Bruno Romualdo
@Brunoromualdo It is possible that this is why the AP says it wants to do "downgrade", I do not know. However a more comprehensive and explanatory answer is more useful.
– ramaral
Exactly! The big issue is that the app runs perfectly on devices with version 6.0 or higher. However, users who still own devices with android 5.0 fail to install the application. For this reason, I would like to do the ""downgrade" of the version I developed for 5.0. If this is not possible, I will have to develop the whole project again in version 5.0!?
– RDamazio