How can I make sure my Android Application will run in lower and higher versions?

后端 未结 3 1181
-上瘾入骨i
-上瘾入骨i 2021-01-23 09:29

I am building an Android application in version 2.3.3. Will this run in lower versions and in higher versions? What do I need to do to make this happen?

3条回答
  •  走了就别回头了
    2021-01-23 09:58

    If you mention minSdkVersion and maxSdkversion in your application's AndroidManifest.xml file. It will be support to those version. For example -

    
    

    instead of that integer value you can set your API level that from which level of mobile version to which level of mobile version for your application supported. If you will set your minSdkVersion as 8 it will be support from 2.2 android mobile version.

    And, if you've set maxSdkVersion as 16 it will be support upto 4.1 android devices.

    Read this article. And, you have to take a look at support screens part for supporting your application to all the size of devices.

    Hope this helps you.

提交回复
热议问题