Reputation: 1
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
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