[Q&A] How to solve java.lang.OutOfMemoryError: GC overhead limit exceeded error in android studio

in build.gradle

1
2
3
4
5
6
android {
...
   dexOptions {
      javaMaxHeapSize "2g"
   }
}
Tags :

0 thoughts on “[Q&A] How to solve java.lang.OutOfMemoryError: GC overhead limit exceeded error in android studio”

Leave a Reply

Your email address will not be published. Required fields are marked *


4 − one =