Changing API level Android Studio

前端 未结 14 1658
星月不相逢
星月不相逢 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:35

    Changing the minSdkVersion in the manifest is not necessary. If you change it in the gradle build file, as seen below, you accomplish what you need to do.

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

提交回复
热议问题