Change Minimum API Level of Android Studio Project
Question by Guest | 2020-10-17 at 12:20
When creating a new project in Android Studio, you can set the Minimum API Level for the project quite easily.
However, how can I change the Minimum API Level for an existing project? I cannot find any option for that! Is there a way? I don't want to build up a new project just for changing that number.
Related Topics
Android Splash Screen Tutorial
Tutorial | 0 Comments
Android Table Layout with columns of equal width
Tutorial | 0 Comments
Android SDK Manager: Problem with installing packages "File not Found (Access is denied) Done. Nothing was installed"
Question | 4 Answers
Android Getting Sound Levels
Open Question | 1 Answer
Guide: How to check the Oil Level
Tutorial | 0 Comments
MySQL: Change minimum word length for full text search
Tip | 1 Comment
Android SDK Manager not showing new API Versions
Question | 1 Answer
Important Note
Please note: The contributions published on askingbox.com are contributions of users and should not substitute professional advice. They are not verified by independents and do not necessarily reflect the opinion of askingbox.com. Learn more.
Participate
Ask your own question or write your own article on askingbox.com. That’s how it’s done.
You do not have to create a new project for changing that. You only have to adjust the minimum SDK Version that is defined in the file "build.gradle (Module:app)" of your project. After opening your project in Android Studio, you will find that file in the tree structure on the left of the main window under "Gradle Scripts".
In this file, you will find something like that:
Now, you can just change the value behind minSdkVersion to the API level you want.
Alternatively you can change the level in the menu File > Project Structure > Modules > Default Config > Min SDK Version.
2020-10-17 at 22:20