0

When I launch Android Studio 3.1.3 version, I select empty activity and then go into the studio. But when I haven't start coding yet, here comes 3 errors. I don't even start editing yet then got errors already. What logic is that? Can you guys help me?

Errors are embedded here:

enter image description here

Alonso Tan
  • 39
  • 9
  • Have you tried to run your app? The error may be fixed when the app run for the first time. The other two are only informative messages. – Diego Malone Jun 16 '18 at 15:26
  • Please add the error message as text to your question by [editing](https://stackoverflow.com/posts/50889156/edit) it. – sɐunıɔןɐqɐp Jun 16 '18 at 15:54

2 Answers2

0

Add below line to your Application Theme:

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

Reference:Failed to find style 'coordinatorLayoutStyle' in current theme

Gokul Nath KP
  • 15,485
  • 24
  • 88
  • 126
-1

add this line above your main java code:

import android.support.design.widget.CoordinatorLayout;
Hossein Seifi
  • 1,380
  • 11
  • 29