When signin an apk, I got this message:
To run dex in process, the Gradle daemon needs a larger heap. It currently has 1024 MB. For faster builds, increase the m
Add following code to your build.gradle file.
android { dexOptions { incremental true javaMaxHeapSize "4g" } }
Reference : Source