Hello. Yesterday I ran into a problem in res / values ​​/ styles.xml; The code is:

<resources> <!-- Base application theme, dependent on API level. This theme is replaced by AppBaseTheme from res/values-vXX/styles.xml on newer devices. --> <style name="AppBaseTheme" parent="Theme.AppCompat.Light"> </style> <style name="AppTheme" parent="AppBaseTheme"> </style> 

7th line, Error on it:

 error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'. 

I understand "XX" on the 5th line is the serial number API

Help me please. Where can Theme.AppCompat.Light lie?

Thank you in advance.

  • 3
    Check if you have the compile 'com.android.support:appcompat-v7:24.2.1' library connected. In general, it is better to use for development for Android - Android Studio , because - Support Ended for Eclipse Android Developer Tools - mit
  • one
    AppCompat is an external library, so that it lies somewhere, it must first be connected to the project - pavlofff

0