-1

I've recently deleted some other projects from my eclipse workspace (permamently) and after that in my current project appeared some errors (R cannot be resolved to a variable).

I tired cleaning and building again project, but this time it doesn't help.

In resources, errors appears only in styles.xml files:

error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.

I'm new in android development and I don't understand what's exactly wrong. Probably something with theme, but I tried to change it to something different - without effects.

Roland
  • 127,288
  • 10
  • 191
  • 288
Piotrek
  • 10,919
  • 18
  • 73
  • 136
  • 1
    Have you checked out posts like this [appcompat](http://stackoverflow.com/questions/17870881/cant-find-theme-appcompat-light-for-new-android-actionbar-support) question? Followed all of those suggestions? –  Jun 20 '14 at 12:05
  • 1
    Check the version of android you are building with. The current version you are using doesn't have that theme. – Ravi Bhatt Jun 20 '14 at 12:05

1 Answers1

0

Download the v7-appcompat library, import it into Eclipse and reference it in those projects which are showing this error. This will solve your problem.

Yash Sampat
  • 30,051
  • 12
  • 94
  • 120
  • Thanks, it works. Here is more detailed instruction: http://stackoverflow.com/questions/17870881/cant-find-theme-appcompat-light-for-new-android-actionbar-support – Piotrek Jun 21 '14 at 07:51