Actionbarssherlock and appcompat_v7 conflict reported abnormal,
类似于 error: Error: No resource found that matches the given name: attr 'android:colorControlActivated'.
error: Error: No resource found that matches the given name: attr 'android:colorControlHighlight'.
·······································
Because the next Actionbarssherlock and attribute names under v7 package under attrs.xml the same name;
There are several solutions:
One:
- Right click on the project
- Select Android Tools from the pop up window
- Select Add Support Library
Two: Remove the appcompact support library project from Properties => Android at this time if you use anctioBar that rely on v7, then this can not be used
three:
I solved this by removing appcompact from project, and changing in styles to
<style name="AppBaseTheme" parent="Theme.Sherlock">