Android Question B4A 9.30 Debug Mode Error

Brandsum

Well-Known Member
Licensed User
New version of B4A (9.30) showing this following error while compiling in debug mode,
B4X:
B4A Version: 9.30
Java Version: 8
Parsing code.    (0.39s)
Building folders structure.    (0.00s)
Compiling code.    (0.62s)
Compiling layouts code.    (0.02s)
Organizing libraries.    (0.00s)
    (AndroidX SDK)
Generating R file.    (1.01s)
Compiling debugger engine code.    (3.96s)
Compiling generated Java code.    (4.83s)
Convert byte code - optimized dex.    Error
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: Unexpected exception in dex writer thread
    at com.android.dx.command.dexer.Main.runMultiDex(Main.java:401)
    at com.android.dx.command.dexer.Main.runDx(Main.java:291)
    at com.android.dx.command.dexer.Main.main(Main.java:249)
    at com.android.dx.command.Main.main(Main.java:94)

Older version even beta version was working fine. How can I solve this problem?
 

DonManfred

Expert
Licensed User
Try to give more memory to the dexer.
In the ini you can change maxramfordexer (or something like that).
Raise the value while the IDE is not running.
 
Upvote 0
Top