0
I’m with an app in android studio practically ready, only I wanted to change from API 9 to API 16 (Android 4.0). Can anyone explain? Thank you!
0
I’m with an app in android studio practically ready, only I wanted to change from API 9 to API 16 (Android 4.0). Can anyone explain? Thank you!
3
In your file build.gradle
inside the app module (there are 2 but only one has these lines below) you need to change the lines minSdkVersion
from 9 to 16, I usually keep the targetSdkVersion
for higher, but if you really want only the 16, you can put there too.
defaultConfig {
applicationId "com.yourapp.app"
minSdkVersion 15
targetSdkVersion 24
versionCode Integer.parseInt(AppVersionCode)
versionName AppVersionName
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
Any more questions just leave a comment but it’s something very simple.
If you speak English, this link has a really cool article about it
Is that all it is? Isn’t there something else to do?! Thank you!!
Browser other questions tagged android-studio
You are not signed in. Login or sign up in order to post.
The API is typically used in two project configurations: minSdkVersion and targetSdkVersion, which are minimum and target Apis respectively. Which one do you want to change? Post the build.Radle file(Module:app) and/or the manifest to support you .
– Rene Freak