Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Appcompat res values-v21 themes_base errors on eclipse are not going away

I had checked for the questions and have not found a suitable answer for my problem

+ [2014-11-21 16:12:02 - android-support-v7-appcompat] 
[2014-11-21 16:12:02 - android-support-v7-appcompat] E:\MISC\canvas\eclipse workspace\android-support-v7-appcompat\res\values-v21\themes_base.xml:220: error: Error: No resource found that matches the given name: attr 'colorControlNormal'.
[2014-11-21 16:12:02 - android-support-v7-appcompat] 
[2014-11-21 16:12:02 - android-support-v7-appcompat] E:\MISC\canvas\eclipse workspace\android-support-v7-appcompat\res\values-v21\themes_base.xml:225: error: Error: No resource found that matches the given name: attr 'colorControlHighlight'.
[2014-11-21 16:12:02 - android-support-v7-appcompat] 
[2014-11-21 16:12:02 - android-support-v7-appcompat] E:\MISC\canvas\eclipse workspace\android-support-v7-appcompat\res\values-v21\themes_base.xml:224: error: Error: No resource found that matches the given name: attr 'colorControlNormal'.
[2014-11-21 16:12:02 - android-support-v7-appcompat] 
[2014-11-21 16:14:50 - android-support-v7-appcompat] E:\MISC\canvas\eclipse workspace\android-support-v7-appcompat\res\values-v21\themes_base.xml:50: error: Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat'.
[2014-11-21 16:14:50 - android-support-v7-appcompat] 
[2014-11-21 16:14:50 - android-support-v7-appcompat] E:\MISC\canvas\eclipse workspace\android-support-v7-appcompat\res\values-v21\themes_base.xml:74: error: Error: No resource found that matches the given name: attr 'editTextBackground'.
..................................
........................................
[2014-11-21 16:15:48 - android-support-v7-appcompat] 
[2014-11-21 16:15:48 - android-support-v7-appcompat] E:\MISC\canvas\eclipse workspace\android-support-v7-appcompat\res\values-v21\themes_base.xml:225: error: Error: No resource found that matches the given name: attr 'colorControlHighlight'.
[2014-11-21 16:15:48 - android-support-v7-appcompat] 
[2014-11-21 16:15:48 - android-support-v7-appcompat] E:\MISC\canvas\eclipse workspace\android-support-v7-appcompat\res\values-v21\themes_base.xml:224: error: Error: No resource found that matches the given name: attr 'colorControlNormal'.

Project properties are the same for my app and the appcompat v7 too. The target is set to 21 for both appcompat and my app . The error was at styles_base and later after following some answers it jumped to themes base. I had even reinstalled java and eclipse.

Please what should I do?

like image 927
Sourabh Avatar asked Nov 21 '14 11:11

Sourabh


1 Answers

Build your project with the API 21 SDK to Let your project know about resource for API 21. Don't forget to clean and re-build.

like image 76
cmcromance Avatar answered Oct 22 '22 00:10

cmcromance