Android Question Unexpected Top Level Exception [Solved]

StephanJ

New Member
Licensed User
Longtime User
Hi,

When I try to compile my Project (to be more precise at the stage "Convert byte code - optimized dex.") this Top Level Exception is thrown:

UNEXPECTED TOP-LEVEL EXCEPTION:
com.android.dx.cf.iface.ParseException: class name (BADoclet$Property) does not match path (BADoclet/BADoclet$Property.class)
at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:520)
at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:406)
at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:388)
at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:251)
at com.android.dx.command.dexer.Main.processClass(Main.java:665)
at com.android.dx.command.dexer.Main.processFileBytes(Main.java:634)
at com.android.dx.command.dexer.Main.access$600(Main.java:78)
at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:572)
at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
at com.android.dx.command.dexer.Main.processOne(Main.java:596)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:498)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:264)
at com.android.dx.command.dexer.Main.run(Main.java:230)
at com.android.dx.command.dexer.Main.main(Main.java:199)
at com.android.dx.command.Main.main(Main.java:103)
...while parsing BADoclet/BADoclet$Property.class
1 error; aborting
Optimized dexer failed. Switching to Standard dexer.

I was trying to add a tech-Filter .xml File to my Project when this started happening. Now I am unable to compile even other Projects without the .xml File.
Updated my Android SDK and even re-installed the B4A IDE, but without success :/

I appreciate all the help i can get.

EDIT: Found a thread where the solution was to increase the ram for the optimized dex...did that but error still persists
 
Last edited:

StephanJ

New Member
Licensed User
Longtime User
Didn't find anything resembling BADoclet in my Libraries Folder so I "rebuilt" it from scratch...^^

Seems to have done the trick...Thank you Erel
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…