I had the same problem but it occured in all my projects, I tried Invalidate Cache / Restart
but even it doesn´t solved the problem.
At the end I realized that in my Gradle Settings
, Offline Work
was enabled.
Go to Build, Execution, Deployment
> Gradle
in Gradle Settings
unchecked Offline Work
.
It solved the the problem downloading some configuration files for my Android Studio.