il faut augmenter la memoire IDE
Problem is not with Gradle. Log clearly says that “Error occured during initialiation of VM. Could not reserve enough space for *****KB object heap” that means your virtual machine needs more space to run application properly.
What you can do is following options:
- Increase Virtual machine configuration
- Run application in real mobile device(Recommended)
This seems like a strange suggestion. My mobile devices have nowhere near as much memory as my development desktop.