I have two library. I would like to embed library1 into library2. I follow the step to embed the library1 into library2. When I run task assembleRelease of library2, I've got Note: duplicate definition of library class [X] for all classes in library1 and finally build fails.
I have two library. I would like to embed library1 into library2. I follow the step to embed the library1 into library2. When I run task assembleRelease of library2, I've got
Note: duplicate definition of library class [X]
for all classes in library1 and finally build fails.what should I do to fix this problem?
Thanks