Execution failed for task

佐手、 提交于 2019-12-11 15:52:25

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!