'How to solve error "FAILURE: Build failed with an exception"?

Task :app:makeProjectDebug FAILED

FAILURE: Build failed with an exception.

What went wrong:

Execution failed for task ':app:makeProjectDebug'.

A problem occurred starting process 'command 'make''



Sources

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

Source: Stack Overflow

Solution Source