Skip to content Skip to sidebar Skip to footer

Duplicate Entry For Class In Gradle

I am trying to implement ken burns view in android studio in my app, i have importted the folder which contains its classes, but gradle gives me this error Error:Execution failed f

Solution 1:

The above library is already on maven. Just remove the imported folder and add the code below to your dependencies:

compile 'com.flaviofaria:kenburnsview:1.0.6'

Sometimes due to downloading issues; the library fails to download. In that case ; just find your .gradle folder and clear cache inside it. Recompile and you are done

Solution 2:

Replace this line:

compile'com.flaviofaria:kenburnsview:1.0.6'

with this one:

compile project(':FOLDER_NAME')

Where FOLDER_NAME is the name of the folder you imported to your project, after that sync your gradle.

Post a Comment for "Duplicate Entry For Class In Gradle"