The Problem is that i am able to run my app when i change to debug mode but it fails when i switch to release mode.
Exception:
**FAILURE: Build failed with an exception.**
> Execution failed for task ':app:…
Gradle is a bit confusing to me, and also for any new Android developer. Can anyone explain what Gradle in Android Studio is and what its purpose is? Why is it included in Android Studio?
After updating to 0.4.2 I get this error when opening a project:
'Gradle project sync failed. Basic functionality (e.g. editing, debugging) will not work proprerly'
The event log shows this:
Error occurred during initialization of VM
Could not reserve enough …