Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Dex issue: "trouble processing "javax/transaction/HeuristicCommitException.class":

Suddenly having some trouble building my app in Eclipse now. This began after updating to latest Google Client Libs. I get the error below. There are several other similar posts on SO, however none of those solutions have worked for me. I have tried checking dependencies, removing all dependencies and doing 'fix project properties', clean and rebuild.
Any ideas???

Dx 
trouble processing "javax/transaction/HeuristicCommitException.class":

Ill-advised or mistaken usage of a core class (java.* or javax.*)
when not building a core library.

This is often due to inadvertently including a core library file
in your application's project, when using an IDE (such as
Eclipse). If you are sure you're not intentionally defining a
core class, then this is the most likely explanation of what's
going on.
like image 378
Patrick Avatar asked Jun 19 '26 16:06

Patrick


1 Answers

This turned out to be some jars that were accidentally placed in the source folder. Once I removed them everything worked fine.

like image 187
Patrick Avatar answered Jun 22 '26 05:06

Patrick



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!