Gradle Problem when creating signed apk


(chiranjib Pahari) #1

Error:13:17:03.706 [ERROR] [system.err] Note: Some input files use or override a deprecated API.
13:17:03.706 [ERROR] [system.err] Note: Recompile with -Xlint:deprecation for details.
13:22:09.179 [ERROR] [org.gradle.api.Project] AGPBI: {“kind”:“error”,“text”:“Uncaught translation error: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: GC overhead limit exceeded”,“sources”:[{}]}
13:22:09.179 [ERROR] [org.gradle.api.Project] AGPBI: {“kind”:“error”,“text”:“Uncaught translation error: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: GC overhead limit exceeded”,“sources”:[{}]}
13:22:09.179 [ERROR] [org.gradle.api.Project] AGPBI: {“kind”:“error”,“text”:“Uncaught translation error: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: GC overhead limit exceeded”,“sources”:[{}]}
13:22:09.179 [ERROR] [org.gradle.api.Project] AGPBI: {“kind”:“error”,“text”:“3 errors; aborting”,“sources”:[{}]}
13:22:09.204 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
13:22:09.204 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
13:22:09.204 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
13:22:09.204 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
13:22:09.204 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Execution failed for task ‘:app:transformClassesWithDexForRelease’.
13:22:09.204 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: Return code 1 for dex process
13:22:09.204 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
13:22:09.205 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
13:22:09.205 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Run with --stacktrace option to get the stack trace.
13:22:09.205 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
13:22:09.205 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Get more help at https://help.gradle.org
13:22:09.205 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger]
13:22:09.205 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger] BUILD FAILED in 5m 8s