1

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.

Dhruv Upadhyay
  • 151
  • 1
  • 5

1 Answers1

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
  • 75,541
  • 25
  • 200
  • 222