Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make android app available for both tablets and pre 11 sdk?

Update: Adding this to manifest solved it:

<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="14"/>
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true"/>

Looks like google silently stopped listing newly submitted apps in tablet market that don't meet their "optimization tips".

One of those "tips" is setting minSdkVersion="11", which means losing 40% of their whole userbase who still run sdk 10 (hilarious).

Can someone please suggest the least painful solution that would let me target both pre 11 SDK users and tablets, preferably without getting into multiple APK business.

If multiple APK is the way to go, then what is the best criteria to separate users on, so I can have a single version code at least.

(the app is fully compatible with all screen sizes and densities, currently targets minSdkVersion="8")

like image 491
serg Avatar asked May 24 '13 19:05

serg


1 Answers

You are reading it wrong..

At a minimum, check the element to make sure that:

targetSdkVersion is declared with value 11 or higher (14 or higher is recommended), OR minSdkVersion is declared with value 11 or higher.

I put 'or' in bold to make sure you read it...It was already in upper case, but was not enough ;-)

Use targetSdkVersion to 17 and Support library as other people said.

like image 72
Waza_Be Avatar answered Nov 09 '22 11:11

Waza_Be