Error changing Android API level?

when I create a new project, I added API level 14, I completed my application and I want to change the API level to 10,

I get and am mistaken in resources -> values-v11 -> style.xml i error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light'.

in resources -> values-v14 -> style.xml

ie error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light.DarkActionBar'.

I understand this can explain to anyone

+5
source share
4 answers

These themes are available at API level 11 or higher, so it will not work. Because you are using API level 10.

link to this link - http://developer.android.com/guide/topics/ui/themes.html

+5
source

Following the advice of ankita gahoi , I searched a bit and solved the problem.

Try the following:

-11 '' values-14 '( ). , :

 "No resource identifier found for attribute 'showAsAction' in package 'android'"

:

" , 'showAsAction' 'android'" (Jason Hanley's)

Android? (Alan Will's)

Android, "API Google", .

+8

What happened to me in a particular case, when a standard SDK for API 9 was installed in one of the Android library projects. What confused me was that the project name with the correct settings was indicated in the error log, and not one problem.

0
source

go to values ​​-v11 → style.xml. replace code:

<style name="LightThemeSelector" parent="android:Theme.Light">

by code:

<style name="LightThemeSelector" parent="android:Theme.Light">
-1
source

All Articles