Error:Execution failed for task \':app:dexDebug\'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process
Found 2 resolutions.
I. First one is simple. Open AS error log file (generated in project directory) and if it contains information that there is not enough memory for Java to do it's job - simply close unnecessary applications to free memory and run again.
II. Another one is due to corrupted project files (for some reason): Do project clean up and then import again in Android Studio (AS). That's how to do it in details.
Note: that you'll end up without all project specific AS settings.
That's simply the thing, which I do from time to time when upgrading to latest AS. That is one of the reasons I never commit those AS-related files to VCS (and teammates allways do import in AS after fresh check out from VCS)