How can I change the minimum Android version required for my app once I've gone past the selection when I created a new project? Right now it's set on 5.1 and I would like to decrease it.
Asked
Active
Viewed 1,049 times
1 Answers
1
In Android Studio
you need to edit the build.gradle, i.e:
defaultConfig {
applicationId "your.pkg"
minSdkVersion 11
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
In eclipse
you can use the uses-sdk on AndroidManifest.xml
<uses-sdk android:minSdkVersion="integer"
android:targetSdkVersion="integer"
android:maxSdkVersion="integer" />

Pedro Lobito
- 94,083
- 31
- 258
- 268
-
1That's not the way to do it in Android Studio. – Ted Hopp Oct 11 '15 at 02:33
-
@TedHopp You're right, I'm still used to eclipse...Updated, tks. – Pedro Lobito Oct 11 '15 at 02:35