问题
Getting Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. while adding any dependency to my current project.
Checked on SO for the solution but that didn't work in my case.
Please suggest the possible solution for this error. TIA
回答1:
Nothing worked. Finally uninstalled the Android Studio and re-installation worked.
Uninstall/Reinstall worked in my case but you should try other solution first and if nothing helps you, then you should follow this as it is time taking task.
UPDATE:
After a long research just resolved this issue by removing the unnecessary dependencies from gradle.
Try it and let me know.
来源:https://stackoverflow.com/questions/56983834/execution-failed-for-task