Michael
Michael

Reputation: 1

Is there any way that I can make android app with version less than 4.0 on new android studio

I am trying to make an android app and I have installed the latest version of android studio. When I create new project, the API levels are above 4.0 which wont work on many android devices so is there anyway that I can choose another API level?

Upvotes: 0

Views: 544

Answers (1)

tynn
tynn

Reputation: 39853

After the project was created, just edit the build.gradle to contain

defaultConfig {
    ...

    //noinspection MinSdkTooLow
    minSdkVersion 9

    ...
}

But you should be aware that many current libraries will not support this SDK level.

Also you shouldn't be worried about the devices not being supported with a minimum SDK level of 14. Not too many users actually use these nowadays. Also these are long outdated and insecure.

Upvotes: 2

Related Questions