When I run the app error is coming as Execution failed for task...
up vote
0
down vote
favorite
When I run the app below mentioned error is coming. Can any body please help on solving my issue.
I will be very thankful.
Task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug' is not up-to-date because:
Task has failed previously.
All input files are considered out-of-date for incremental task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
Merging to 'E:AndroidMyProjectsMySaloonsappbuildintermediatestransformsexternalLibsDexMergerdebug' with D8 from
AGPBI: {"kind":"error","text":"Program type already present: android.arch.core.util.Function","sources":[{}],"tool":"D8"}
:app:transformDexArchiveWithExternalLibsDexMergerForDebug FAILED
:app:transformDexArchiveWithExternalLibsDexMergerForDebug (Thread[Daemon worker Thread 2,5,main]) completed. Took 1.446 secs.
:app:buildInfoGeneratorDebug (Thread[Daemon worker Thread 2,5,main]) started.
:app:buildInfoGeneratorDebug
Task ':app:buildInfoGeneratorDebug' is not up-to-date because:
Task has not declared any outputs.
:app:buildInfoGeneratorDebug (Thread[Daemon worker Thread 2,5,main]) completed. Took 0.013 secs.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Program type already present: android.arch.core.util.Function
* Try:
Run with --debug option to get more log output. Run with --scan to get full insights.
* Exception is:
Caused by: com.android.tools.r8.utils.AbortException: Error: Program type already present: android.arch.core.util.Function
at com.android.tools.r8.utils.Reporter.failIfPendingErrors(Reporter.java:116)
at com.android.tools.r8.utils.Reporter.fatalError(Reporter.java:74)
at
android-studio
add a comment |
up vote
0
down vote
favorite
When I run the app below mentioned error is coming. Can any body please help on solving my issue.
I will be very thankful.
Task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug' is not up-to-date because:
Task has failed previously.
All input files are considered out-of-date for incremental task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
Merging to 'E:AndroidMyProjectsMySaloonsappbuildintermediatestransformsexternalLibsDexMergerdebug' with D8 from
AGPBI: {"kind":"error","text":"Program type already present: android.arch.core.util.Function","sources":[{}],"tool":"D8"}
:app:transformDexArchiveWithExternalLibsDexMergerForDebug FAILED
:app:transformDexArchiveWithExternalLibsDexMergerForDebug (Thread[Daemon worker Thread 2,5,main]) completed. Took 1.446 secs.
:app:buildInfoGeneratorDebug (Thread[Daemon worker Thread 2,5,main]) started.
:app:buildInfoGeneratorDebug
Task ':app:buildInfoGeneratorDebug' is not up-to-date because:
Task has not declared any outputs.
:app:buildInfoGeneratorDebug (Thread[Daemon worker Thread 2,5,main]) completed. Took 0.013 secs.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Program type already present: android.arch.core.util.Function
* Try:
Run with --debug option to get more log output. Run with --scan to get full insights.
* Exception is:
Caused by: com.android.tools.r8.utils.AbortException: Error: Program type already present: android.arch.core.util.Function
at com.android.tools.r8.utils.Reporter.failIfPendingErrors(Reporter.java:116)
at com.android.tools.r8.utils.Reporter.fatalError(Reporter.java:74)
at
android-studio
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
When I run the app below mentioned error is coming. Can any body please help on solving my issue.
I will be very thankful.
Task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug' is not up-to-date because:
Task has failed previously.
All input files are considered out-of-date for incremental task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
Merging to 'E:AndroidMyProjectsMySaloonsappbuildintermediatestransformsexternalLibsDexMergerdebug' with D8 from
AGPBI: {"kind":"error","text":"Program type already present: android.arch.core.util.Function","sources":[{}],"tool":"D8"}
:app:transformDexArchiveWithExternalLibsDexMergerForDebug FAILED
:app:transformDexArchiveWithExternalLibsDexMergerForDebug (Thread[Daemon worker Thread 2,5,main]) completed. Took 1.446 secs.
:app:buildInfoGeneratorDebug (Thread[Daemon worker Thread 2,5,main]) started.
:app:buildInfoGeneratorDebug
Task ':app:buildInfoGeneratorDebug' is not up-to-date because:
Task has not declared any outputs.
:app:buildInfoGeneratorDebug (Thread[Daemon worker Thread 2,5,main]) completed. Took 0.013 secs.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Program type already present: android.arch.core.util.Function
* Try:
Run with --debug option to get more log output. Run with --scan to get full insights.
* Exception is:
Caused by: com.android.tools.r8.utils.AbortException: Error: Program type already present: android.arch.core.util.Function
at com.android.tools.r8.utils.Reporter.failIfPendingErrors(Reporter.java:116)
at com.android.tools.r8.utils.Reporter.fatalError(Reporter.java:74)
at
android-studio
When I run the app below mentioned error is coming. Can any body please help on solving my issue.
I will be very thankful.
Task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug' is not up-to-date because:
Task has failed previously.
All input files are considered out-of-date for incremental task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
Merging to 'E:AndroidMyProjectsMySaloonsappbuildintermediatestransformsexternalLibsDexMergerdebug' with D8 from
AGPBI: {"kind":"error","text":"Program type already present: android.arch.core.util.Function","sources":[{}],"tool":"D8"}
:app:transformDexArchiveWithExternalLibsDexMergerForDebug FAILED
:app:transformDexArchiveWithExternalLibsDexMergerForDebug (Thread[Daemon worker Thread 2,5,main]) completed. Took 1.446 secs.
:app:buildInfoGeneratorDebug (Thread[Daemon worker Thread 2,5,main]) started.
:app:buildInfoGeneratorDebug
Task ':app:buildInfoGeneratorDebug' is not up-to-date because:
Task has not declared any outputs.
:app:buildInfoGeneratorDebug (Thread[Daemon worker Thread 2,5,main]) completed. Took 0.013 secs.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Program type already present: android.arch.core.util.Function
* Try:
Run with --debug option to get more log output. Run with --scan to get full insights.
* Exception is:
Caused by: com.android.tools.r8.utils.AbortException: Error: Program type already present: android.arch.core.util.Function
at com.android.tools.r8.utils.Reporter.failIfPendingErrors(Reporter.java:116)
at com.android.tools.r8.utils.Reporter.fatalError(Reporter.java:74)
at
android-studio
android-studio
asked 2 days ago
Sabir Syed
114
114
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
draft saved
draft discarded
draft saved
draft discarded
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53203459%2fwhen-i-run-the-app-error-is-coming-as-execution-failed-for-task-apptransformd%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password