Bug? PLEASE help guys

MODERN TALKING

Active Member
Licensed User
Hi guys,

I'm a Noob, so really need your help.

Getting this error message when I compile:

B4A version: 5.20
Parsing code. (0.04s)
Compiling code. (0.11s)
Compiling layouts code. (0.00s)
Generating R file. (0.04s)
Compiling generated Java code. (0.69s)
Convert byte code - optimized dex. Error

UNEXPECTED TOP-LEVEL EXCEPTION:

java.lang.IllegalArgumentException: already added: Lanywheresoftware/b4a/objects/preferenceactivity$B4APreference;

at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:122)
at com.android.dx.dex.file.DexFile.add(DexFile.java:161)
at com.android.dx.command.dexer.Main.processClass(Main.java:732)
at com.android.dx.command.dexer.Main.processFileBytes(Main.java:673)
at com.android.dx.command.dexer.Main.access$300(Main.java:83)
at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:602)
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:632)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:510)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:280)
at com.android.dx.command.dexer.Main.run(Main.java:246)
at com.android.dx.command.dexer.Main.main(Main.java:215)
at com.android.dx.command.Main.main(Main.java:106)

THANK YOU SO MUCH!!
 

DonManfred

Expert
Licensed User
Without seeing our code it is nearly impossible to help.

Export yopur project as zip (ide -> File -> Export as zip) and upload it here
 
Top