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
I've tried Invalidate Caches/Restart..., tried manually delete .idea and .build folders and it didn't work for my case.
I using VCS (git) and I just commit my changes, removed the whole project, and Checkout from Version Control. It fixed this problem.