Problem with Android Studio

1

Download today on my android studio PC and I have a rendering error. It does not let me visualize any component. This is the mistake I have:

Failed to find style 'coordinatorLayoutStyle' in current theme

    
asked by edward1499 16.08.2018 в 00:53
source

1 answer

2

It's a topic that is not found in the most recent versions, you have to add it.

 <item name="coordinatorLayoutStyle">@style/Widget.Design.CoordinatorLayout</item>

To do this, review the topic that your application is calling. for example:

<application
    ...
    android:theme="@style/AppTheme.Light.NoActionBar">

then within the file res/vaules/styles.xml you have to search the topic and add the item:

  <style name="AppTheme.Light.NoActionBar" parent="Theme.AppCompat.Light.NoActionBar">
      ...
      ...
      ...
  <item name="coordinatorLayoutStyle">@style/Widget.Design.CoordinatorLayout</item>
      ...
  </style>
    
answered by 16.08.2018 в 01:09