Android Studio – Failed to complete Gradle execution. Cause: A fatal exception has occurred. Program will exit

Mbuh ini masasalah apa, tapi pernah dapat masalah kayak gini di Android Studio, terus nemu solusi begini:

Go to File -> Settings -> Gradle Input the following in the “Gradle VM options:” box: -XX:MaxHeapSize=256m -Xmx256m Hit apply and Android Studio should build your project successfully.

dah gitu ajah, seng penting ditulis sikik 😀