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 Studio: Set an own App Icon
Question | 1 Answer
Guide: How to check the Oil Level
Tutorial | 0 Comments
Cordova: Batch Script closes automatically
Question | 1 Answer
Cordova Release APK not working
Question | 1 Answer
FAQ: Engine Oil, Oil Level and Oil Change
Info | 1 Comment
Cordova only creates Debug APK (android-debug.apk)
Question | 1 Answer
How to rename Project in Eclipse
Tip | 0 Comments
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