Android Problem fixes: Unterschied zwischen den Versionen

Aus wiki
Wechseln zu: Navigation, Suche
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 8: Zeile 8:
 
         javaMaxHeapSize "4g"
 
         javaMaxHeapSize "4g"
 
     }
 
     }
 +
 +
== Battery Log ==
 +
adb shell dumpsys batterystats --enable full-wake-history
 +
 +
 +
== add JNILibs ==
 +
+    sourceSets {
 +
+        main {
 +
+            jniLibs.srcDirs = ['libs/gemalto/debug']
 +
+        }
 +
+    }

Aktuelle Version vom 29. Oktober 2015, 20:56 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


add JNILibs

+    sourceSets {
+        main {
+            jniLibs.srcDirs = ['libs/gemalto/debug']
+        }
+    }