mixite: Cannot use the library in Android

When using hexameter in Android I receive the error message:

`AGPBI: {“kind”:“error”,“text”:“trouble processing "javax/xml/parsers/DocumentBuilder.class":”,“sources”:[{}]}

AGPBI: {“kind”:“error”,“text”:“Ill-advised or mistaken usage of a core class (java.* or javax.*)”,“sources”:[{}]}

AGPBI: {“kind”:“error”,“text”:“when not building a core library.”,“sources”:[{}]}

AGPBI: {“kind”:“error”,“text”:“This is often due to inadvertently including a core library file”,“sources”:[{}]}

AGPBI: {“kind”:“error”,“text”:“in your application\u0027s project, when using an IDE (such as”,“sources”:[{}]}

AGPBI: {“kind”:“error”,“text”:“Eclipse). If you are sure you\u0027re not intentionally defining a”,“sources”:[{}]}

AGPBI: {“kind”:“error”,“text”:“core class, then this is the most likely explanation of what\u0027s”,“sources”:[{}]}

AGPBI: {“kind”:“error”,“text”:“going on.”,“sources”:[{}]}`

… and so on.

That dependency of a core class is somewhere in hexameter-core. I use the version 3.0.0 of that library.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 16 (9 by maintainers)

Most upvoted comments

Cool. I’ll remove Rx and create a new release hopefully today(GMT+1).

Issue is gone, thank you a lot for fixing this so quickly!

I was using an old version from maven (version 3.0.0), which was uploaded in 2016. It has some redundant dependencies on checkstyle and findbugs. They were causing those strange problems.

The problem is in that RxJava library that you mentioned. When I used the newest version from Maven I got the following error:

com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: rx/Observable$OnSubscribe.class.

I also tried just downloading the sources and including them as a module: the same outcome.