0

I face big problem in my app in android studio this massage appear in xml and i try to clear cash and restart but still appear Missing styles. Is the correct theme chosen for this layout? Use the Theme combo box above the layout to choose a different layout, or fix the theme style references.

Failed to find style 'scrollViewStyle' in current theme (4 similar errors not shown)
Style with id 0x7f0900d1 (resolved to 'CardView_Light') does not exist.
Style with id 0x7f0900d1 (resolved to 'CardView_Light') does not exist.

this is image of problem

Devil10
  • 1,853
  • 1
  • 18
  • 22
  • 2
    Possible duplicate of [Missing styles. Is the correct theme chosen for this layout?](https://stackoverflow.com/questions/13439486/missing-styles-is-the-correct-theme-chosen-for-this-layout) – ADM Jul 25 '18 at 04:05
  • @Mahmoud Elgamal which theme you are using? update your style.xml and layout xml – Bhagyashri Jul 25 '18 at 04:12

1 Answers1

0

Select Theme -> Project Themes -> AppTheme

You Need to set appropriate Theme for particular layout also make sure you are using correct API level.

  • You need to Gradle Clean, Rebuild and Sync all Gradle files.

  • Then restart Android Studio

Mr. Roshan
  • 1,777
  • 13
  • 33