gcacace / android-signaturepad

A custom Android View for drawing smooth signatures
Apache License 2.0
2.76k stars 643 forks source link

Databinding generating multiple DynamicUtil.java files. #86

Open deandalm opened 7 years ago

deandalm commented 7 years ago

After upgrading to 1.2.1, I started getting the following error:

Error:Execution` failed for task ':app:transformResourcesWithMergeJavaResForDebug'.
> More than one file was found with OS independent path 'android/databinding/DynamicUtil.java'

After further investigation, I noticed that braintree-2.5.2 is generating a DynamicUtil.java file and so is adapsters-1.2.1. Any ideas how to resolve this issue?

lkorth commented 7 years ago

braintree/braintree_android#154

Upgrading the Gradle build plugin used to build the library to at least 2.3.3 appears to have fixed this issue.