I tried to make it work by modifying my build files but nothing. I finally had to remove the library and clean the project so that my build passes.