Android Support Library v7: Error retrieving parent for item


Answers

Question

I am trying to build the Android Support Library v7 samples.

For that, I created an sampleproject through Eclipse -> New Android Sample Project and added the android-support-v7-* projects as "Android Project From Existing Code" to Eclipse, and made the sample project reference them.

But I am getting the following errors in android-support-v7-mediarouter/res/values/styles.xml:

error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.ActionButton'. (line 18)

error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Light.ActionButton'. (line 28)

What can I do to fix these errors and build the sample project?






Related