How do I fix a "Found duplicate file for APK" error in eclipse Android project -


i have java project a, depends on junit 4.11

android project b depends on java project a, , hence gets these hamcrest.jar , junit4.11.jar. generates "found duplicate file apk" error since there 2 license.txt files.

in gradle add:

packagingoptions   {     pickfirst 'meta-inf/license.txt'  } 

how accomplish same in eclipse? possible exclude license.txt 1 of jars using eclipse configuration?


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -