The build directory has no directory class

The build directory has no directory class, it is located within the intermediate directory. (build / intermediates / classes)