Changing API level Android Studio

前端 未结 14 1188
星月不相逢
星月不相逢 2020-11-22 09:01

I want to change the minimum SDK version in Android Studio from API 12 to API 14. I have tried changing it in the manifest file, i.e.,



        
相关标签:
14条回答
  • 2020-11-22 09:54

    For android studio users:

    1. right click the App directory
    2. choose the "module setting" option
    3. change the ADK Platform as what you need
    4. Click Apply

    The gradle will rebuild the project automatically.

    0 讨论(0)
  • 2020-11-22 09:54

    In Android studio open build.gradle and edit the following section:

    defaultConfig {
        applicationId "com.demo.myanswer"
        minSdkVersion 14
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
    }
    

    here you can change minSdkVersion from 12 to 14

    0 讨论(0)
提交回复
热议问题