The project compiles fine. However, Android studio 3.0.1 shows reference to one particular library in red and displays \"cannot resolve symbol\". Even single stepping into
Update
classpath 'com.android.tools.build:gradle:3.X.X'
to the last version worked for me.