Click here to Skip to main content
15,889,372 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
[2015-03-27 21:42:32 - SampleProject] I:\workspace2\workspace\SampleProject\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-03-27 21:42:32 - SampleProject]
[2015-03-27 21:42:32 - SampleProject] I:\workspace2\workspace\SampleProject\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-03-27 21:42:32 - SampleProject]
[2015-03-27 21:42:32 - SampleProject] I:\workspace2\workspace\SampleProject\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2015-03-27 21:42:32 - SampleProject]
[2015-03-27 21:42:33 - SampleProject] I:\workspace2\workspace\SampleProject\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-03-27 21:42:33 - SampleProject]
[2015-03-27 21:42:33 - SampleProject] I:\workspace2\workspace\SampleProject\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-03-27 21:42:33 - SampleProject]
[2015-03-27 21:42:33 - SampleProject] I:\workspace2\workspace\SampleProject\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2015-03-27 21:42:33 - SampleProject]
Posted
Comments
Richard MacCutchan 27-Mar-15 13:04pm    
Your project is corrupt or incorrect; fix the missing resource errors.

You are missing some Android Support Libraries. Find out Support Library Setup[^]
Read more: Support Library Features[^]
 
Share this answer
 
Comments
pankaj788 29-Mar-15 8:06am    
Sir I have installed the support library.
And when I create the new project I got the above errors.
Peter Leow 29-Mar-15 8:19am    
Installing is one thing, you have to add it to your project. You can find it in the links. http://developer.android.com/tools/support-library/setup.html#libs-with-res
Are you using any external library?
 
Share this answer
 
Comments
pankaj788 29-Mar-15 6:18am    
No, I am using apcompac_v7 library

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900