I am using android studio 1.0 RC
for 64 bit linux.
When I run my application I am getting
"java.lang.OutOfMemoryError: GC overhead limit exceeded"
When I searched on how to solve this error I got solutions like add:
These did not work for me.
Please help. Thanks in advance
I solved this issue by adding
dexOptions {
incremental true
javaMaxHeapSize "4g"
}
to the android closure in build.gradle file. Found this answer in