I just solved these exact errors. The key point is that your project.properties file in your appcompat library project must use any of the highest version of the API for which your particular appcompat project was written (in your case, it looks like v21). The easiest way I've found is to find the highest folder "values-v **" inside the res folder (for example, values-v21 ).
To clarify in addition to the instructions in the Support Library Setup , your appcompat/project.properties file should have in it: target=android-21 (mine came from 19 instead).
Also make sure that you have the SDK platform installed for this version (for example, the Android 5.0 SDK platform is installed for v21).
See also appcompat-v7: 21.0.0 ': a resource was not found that matches the specified name: attr' android: actionModeShareDrawable '
Alternatively, if you do not want to use appcompat at all, I think that all you need to do is right-click on your project> Properties> Android> Library> Remove link to appcompat. Errors will still be displayed for the appomppat project, but should not affect your project after that.
Ben Oct 31 '14 at 2:36 on 2014-10-31 14:36
source share