Android Problem fixes: Unterschied zwischen den Versionen

Aus wiki
Wechseln zu: Navigation, Suche
Zeile 8: Zeile 8:
 
         javaMaxHeapSize "4g"
 
         javaMaxHeapSize "4g"
 
     }
 
     }
 +
 +
== Battery Log ==
 +
adb shell dumpsys batterystats --enable full-wake-history

Version vom 23. September 2015, 18:04 Uhr

UNEXPECTED TOP-LEVEL ERROR: java.lang.OutOfMemoryError: GC overhead limit exceeded

add this to your build.gradle of your project, not modules

dexOptions {
       incremental true
       javaMaxHeapSize "4g"
   }

Battery Log

adb shell dumpsys batterystats --enable full-wake-history