The screen of the problem itself:

The screen of the problem itself:

Created a project by the book:
enter image description here

  • AppCompat library is not connected. with her eclipse hemorrhoids, the task is not for a beginner. it's easier to delete all styles files and in the manifest what will be cursed (theme attribute) delete - Rou1997
  • four
    write better in android studio, if the iron allows. - Rou1997
  • Rou1997 thanks for the answer, now I will try to delete the theme, and how to connect AppCompact? - Victor
  • get its code (in the Android SDK, somewhere went or manually download the hail) and compile it as a library project. then add this project to the list of libraries of your project (on the Android tab). you need the entire code, not just the jar, otherwise it will not work. I don't remember the details, the project is idle for 5 months, now I work with completely different OS. I remember that there are many nuances in the eclipse, for example, the compile sdk version must be high (21, 23, 25) and in the project and in the one that uses it. - Rou1997
  • one
    @Viktor, you would have a newer book ... For 3 years everything has changed and it is not very relevant, to say the least. And yes - Eclipse is no longer supported by Google and you will have almost unsolvable problems at every step. Switch to AndroidStudio, especially since it is many times better than Eclipse - YuriiSPb

0