Out of memory: Java heap space

Hi, after I put a file with a size of 180M under examples/android/*/bin/data, the android studio build fail with these message
Out of memory: Java heap space.
Please assign more memory to Gradle in the project’s gradle.properties file.
For example, the following line, in the gradle.properties file, sets the maximum Java heap size to 1,024 MB:
and there is not any file named gradle.properties in the project.

Hi, did you ever solve this? I remember this came up before but i forgot how i solved it!