ini4j only works from the libs directory, not maven
ini4j only works from the libs directory, not maven I'm trying to use ini4j in an Android app, compiled in the AIDE IDE. When I put ini4j-0.5.4.jar in the libs folder in my app, it works. However, when I include ini4j with the line compile 'org.ini4j:ini4j:0.5.4' in my build.gradle, I get the error bad utf-8 byte a0 at offset 00000004 . I've checked the jar file in the Maven directory, and it is identical to the one in my libs folder. Both have the SHA1 4a3ee4146a90c619b20977d65951825f5675b560 . I have absolutely no clue what could be causing this. compile 'org.ini4j:ini4j:0.5.4' bad utf-8 byte a0 at offset 00000004 4a3ee4146a90c619b20977d65951825f5675b560 EDIT: For some reason, it seems to have xerces as a dependency, which is the library known to have these issues. 1 Answer 1 According to Apache (http://xerces.apache.org/xerces2-j/install.html) xerces.jar is now deprecated...