multiple dex files define Landroid/support/v4/

后端 未结 2 1475
情深已故
情深已故 2020-12-16 09:14

I can not compile the project gets the following error compilation:

Error:Execution failed for task \':myApp:dexDebug\'.

com.android.ide.commo

2条回答
  •  無奈伤痛
    2020-12-16 09:29

    This seems to be a common ADT to Android studio migration problem. ADT is looking for a copy of android-support-v4.jar in the libs/ dir while Android studio has it's own internal copy. When migrating the jar file is left in the libs dir which creates a duplicate jar most likely an older version. I deleted the jar in the libs dir and problem was solved.

提交回复
热议问题