code-scanner icon indicating copy to clipboard operation
code-scanner copied to clipboard

Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'

Open ElectApp opened this issue 6 years ago • 1 comments

I can sync project successful but can't install to Android phone (Android 9.0). It get message below.

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'.

More than one file was found with OS independent path 'META-INF/proguard/androidx-annotations.pro'

ElectApp avatar Jun 12 '19 09:06 ElectApp

Probably, you should use AndroidX artifacts instead of com.android.support.*

yuriy-budiyev avatar Jul 10 '19 15:07 yuriy-budiyev