Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Execution failed for task Program type already present?

I have this error while build Application

Error:Program type already present: android.support.design.widget.CoordinatorLayout$ViewElevationComparator

any idea about this error ?

like image 262
Mahmoud D. Alghraibeh Avatar asked Feb 28 '18 14:02

Mahmoud D. Alghraibeh


1 Answers

I just stumbled upon this error on the latest Android Studio 3.2 Canary 4 with classpath 'com.android.tools.build:gradle:3.2.0-alpha04'. It was fixed as soon as I updated the support libraries to 27.1.0

like image 117
Nicholas Chum Avatar answered Sep 30 '22 20:09

Nicholas Chum