0

I can't understand what is the problem

<resources>
    <!-- Base application theme. -->
    <style name="AppTheme" parent="AppTheme.AppCompat.Light.NoActionBar">
        <!-- Customize your theme here. -->
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
        <item name="colorAccent">@color/colorAccent</item>
    </style>
</resources>
  • 3
    Neither we . Read https://stackoverflow.com/help/how-to-ask . And https://stackoverflow.com/questions/43177304/cannot-resolve-symbol-theme-appcompat-light-darkactionbar-in-styles-xml. – ADM Mar 23 '18 at 18:22

1 Answers1

1

Try this:

<resources>
    <!-- Base application theme. -->
    <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
        <!-- Customize your theme here. -->
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
        <item name="colorAccent">@color/colorAccent</item>
    </style>
</resources>

Also check your com.android.support:appcompat-v7 dependency

shmakova
  • 6,076
  • 3
  • 28
  • 44