'Gradle build-attribution unexpected attribution

I recently deleted and reinstalled my Android Studio IDE and my before working project still finishes building but gives an unexpected exception which is as follows:

C:/ (...) /.gradle/build-attribution

The build-attribution folder is empty. Also the application on the emulator won't update.



Solution 1:[1]

I deleted the folder build-attribution and it is fixed.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Mateus Martins