![]() ![]() You should update the Gradle Scripts/adle(Module: your_app) file in the android studio, make sure not to edit the Gradle Scripts/adle(Project: your_project) file.If you want to update an existing android project minSdkVersion number, you can not update it in the manifest.xml file.The error only happens when I update the existing android project minimum SDK version number in the manifest.xml file.I also find that if I create a new android project in android studio and make the new project use android SDK version 18 as the minim SDK version, there is no error.But when I rebuild the android project, the error still exists.I tried to change it in the manifest.xml file like the below code.So I need to change the minimum Android SDK version to 18 in the android studio.When I hover the mouse over the redline, it shows the message that a minimum API level of 18 is required.Recently, when I open android studio to develop an android project, I find a red underline in the layout.xml file(4).How To Change Android Studio Minimum Android SDK Version In Existing Android Project. This time the adle file will be changed by android studio automatically.Ģ.Click the ” Build -> Rebuild Project ” menu item to rebuild the android project.Click the OK button to save the selection. ![]() Then you can select your desired android Min Sdk Version and Target Sdk Version from the related dropdown list on the right side.Select the tab Flavors on the right panel, click the defaultConfig item in the dialog center list area. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |