Search code examples
androidandroid-manifestandroid-version

targetSdkVersion in Manifest


I have the targetSdkVersion set as 17 in my manifest. Kindly let me know if there will be any problem when I run this in the phone which has the API of 18.

Manifest xml :

    <uses-sdk
    android:minSdkVersion="8"
    android:targetSdkVersion="17" />

Solution

  • I will not support API 18 and if you upload it to play store then it will not be visible for all device > API 17

    For example my Application which is uploaded to Play Store have 10 - 18 API support so it support 3326 Type of devices on play store similarly and it is available for those api level devices only

    My app on PlayStore

    My App support

    Permissions also matters

    Say if you want Wifi Permissions and device not have wifi it won't be visible for those device who don't have wifi enter image description here

    If you directly install it to Device > API 17 it will give warning but will install

    The Official Documentation Mentions here