It seems that somehow the two layouts I had created gave rise to the two classes in the compilation.
Classes that were in conflict with the classes created by the Layouts of the App that used the library.
However today correctly, when I compiled as a library, layouts are ignored and classes are not generated.
This thing is not the first time that happens to me, that by compiling as a library, I am generated with layout-related classes.