Android No Resource Identifier Found for XLargeScreens

Chance picture Chance · Jan 17, 2011 · Viewed 14.8k times · Source

I would like my Android app to be compatible with as many devices as humanly possible, so naturally I would like to try to make it ready for all of the new incoming tablets. Unfortunately when I add :

android:xlargeScreens="true"

To my Manifest, it gives me this error :

error:No resource identifier found for attribute "xlargeScreens" in package 'android'

Now I'm fairly new to all of this yet, but from what I've read this has something to do with my min/target SDK's being too low to support this, being a brand new feature and all. I did try raising my target SDK up since I thought that wasn't a problem, but that made most of my code "unable to be resolved". I'm sure that makes sense to those of you that have been around Android a little longer than myself, but what I'm really wondering is if there is a way for me to enable support for "xlargeScreens".

Perhaps there is some other way, or maybe it's not even necessary to have that line to allow it to work with them. Perhaps because it's a new addition I've had trouble finding anything that answered this for me, so any suggestions would be great. Thank you for your help!

Answer

githouse picture githouse · Jun 23, 2011

This attribute was introduced in API Level 9. Check this link http://developer.android.com/guide/topics/manifest/supports-screens-element.html#xlarge