I tried to create a new Android project, but at the beginning (after the project configuration) I've got these errors:
Can anyone help me, please?
I tried to create a new Android project, but at the beginning (after the project configuration) I've got these errors:
Can anyone help me, please?
It means that some Material Design stuff is incompatible with your minSDK or targetSDK version.
In Eclipse, set your own project to target API 21 (or greater):
When Project Build Target of your own project is below 21, errors in the question appear. Clean and re-build your own project when modified its Project Build Target.
Also check this answer from Hello World Android App, Error: workspace\appcompat_v7\res\values-v21\styles_base.xml No resource found that matches the given name
I found the source of the problem, when we create a new project, it contains the reference of the
appcompat_v7
library:
the
appcompat_v7
library already contains the support library "android-support-v4.jar
"
the problem is that the new project created contains into the
/libs
folder, the library "android-support-v4.jar
" too!, just delete this .jar from your new project ( that is already contained into theappcompat_v7
library)don´t forget to
clean and build your project
This problem happens using API 19 use API 21 or later
Hope it help