3

Today when i opened my eclipse today and when i created a new android project. appcompatv7 gets automatically gets imported as per the new sdk. But the appcompatv7 is showing some error. When i am expanding the appcompatv7 there is error in res --> values-large --> theme_base.xml and res --> values-large-v14 --> theme_base.xml. the error in those xml file shows "no resources found that matches the following name". please help and due to this my new project is also showing error.

<resources>

    <style name="Theme.Base.AppCompat.DialogWhenLarge"
       parent="Theme.Base.AppCompat.Dialog.FixedSize" />

    <style name="Theme.Base.AppCompat.Light.DialogWhenLarge"
       parent="Theme.Base.AppCompat.Dialog.Light.FixedSize" />

</resources>

1 Answers1

3

For what it worth, I had a similar compile problem, and found out that Google's AppCompat library had a breaking API change with a few of the base themes. I fixed that by renaming:

Theme.AppCompat.Light to Base.Theme.AppCompat.Light and Theme.Base.AppCompat.Dialog.FixedSize to Base.Theme.AppCompat.Dialog.FixedSize

(note the Base prefix).

Menny
  • 473
  • 6
  • 13