0

i created an application on Eclipse and project shows like this : enter image description here

and in console error text is: C:\Users\shforoozan\workspace\MyTestApp\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'. C:\Users\shforoozan\workspace\MyTestApp\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.

Shahram
  • 215
  • 1
  • 5
  • 21

3 Answers3

1

Go to Help menu, and than install Android SDK.

Seven
  • 89
  • 6
0

change style in res folder

res >>> values >>> style and change theme to android:Theme.Light

else, import appcompat-v7 in your app

Devraj
  • 1,479
  • 1
  • 22
  • 42
0

You should import appcompat-v7 into your app,Theme.AppCompat.Light property is in appcompat-v7 and you can modify the style file in values-v11 andvalues-v14 , just like this

<style name="AppTheme" parent="android:Theme.Holo.Light">
</style>
adsion
  • 187
  • 3
  • 13