solution:Android Studio causing GC overhead limit exceeded:how to solve

Channel:
Subscribers:
1,470
Published on ● Video Link: https://www.youtube.com/watch?v=sCUPy8k3gcM



Duration: 7:21
2,664 views
16


hai friends



today ia m going to show the error in the build of android

which cause of

Gc over limit error like this


this is caused to over heap size of the app in the android studio
wait a moment it shows error


we cant build apk by this error


solution
go to build.gradle


add this code to below android tag

dexOptions {
javaMaxHeapSize "4g"
}


than build it it will solved


thats it thanks for watching

subscribe channel for more







Tags:
android stuido
sanjay kranthi tech
solution
over heap
gc overload
how
to
solve
subscribe
my channel
limit exceed