Note that there are some explanatory texts on larger screens.

plurals
  1. POSetting targetSdk based on "Optimization Tips"
    text
    copied!<p>I see Google has added a new section called "Optimization Tips" in the developer console.</p> <p>In it it mentioned I should set a targetSdk. I currently only have:</p> <pre><code>&lt;uses-sdk android:minSdkVersion="7"/&gt; </code></pre> <p>In <a href="http://developer.android.com/distribute/googleplay/quality/tablet.html#android-versions" rel="nofollow">their documentation</a> they say:</p> <p><code>"You can set the app's range of targeted Android versions in the manifest file, in the &lt;uses-sdk&gt; element. In most cases, you can target Android versions properly by setting the element's targetSdkVersion attribute to the highest API level available."</code></p> <p>and</p> <p><code>"targetSdkVersion is declared with value 11 or higher (14 or higher is recommended)"</code></p> <p>My app works perfectly in all versions of android including tablets. Based on what they are saying, even though my app supports version 7, and uses no features of higher versions - should I really be setting my target to the highest possible value (currently API 17). </p> <p>At the moment I get a reasonable amount of downloads for my app so I'm not understanding the benefit properly - is it just an indicator to google I've tested it on higher devices (since its a full screen canvas app - colour scheme and menu style, changes are unlikely to have any effect for me)</p> <p>(Btw, I do understand why someone might want to use a higher targetSdk, I'm just wondering if one should set it higher even if you don't need it)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload