This is the output of my Gradle console, I am unable to build my project
D:\\Android Projects\\....\\app\\src\\main\\res\\layout\\topic_view_header.xml
Error
As @Izabela Orlowska pointed out: In my case the problem occurred due to some files that could not be found inside the gradle cache folder. (Windows OS)
The default gradle path was inside my user folder. the path contained umlauts and a space.
I moved the gradle folder by setting GRADLE_HOME
and GRADLE_USER_HOME
environment variable to some newly created folder without umlauts or spaces in path.
This fixed the problem for me.