Android Question Cannot run b4a

catyinwong

Active Member
Licensed User
Longtime User
for some reason I have reinstalled my B4A. After that I cannot launch or debug any projects, which were totally fine before.

B4X:
B4A Version: 11.00
Parsing code.    (0.33s)
	Java Version: 8
Building folders structure.    (0.01s)
Compiling code.    (1.12s)
Compiling layouts code.    (0.00s)
Organizing libraries.    (0.00s)
	(AndroidX SDK)
Compiling resources    (1.59s)
Linking resources    (1.26s)
Compiling generated Java code.    (8.29s)
Convert byte code - optimized dex.    Error
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lokhttp3/Address;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lokhttp3/Authenticator;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lokhttp3/Authenticator$1;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lokhttp3/Cache;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lokhttp3/Cache$1;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lokhttp3/Cache$2;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lokhttp3/Cache$CacheRequestImpl;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lokhttp3/Cache$CacheRequestImpl$1;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lokhttp3/Cache$CacheResponseBody;
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: Translation has been interrupted
	at com.android.dx.command.dexer.Main.processAllFiles(Main.java:692)
	at com.android.dx.command.dexer.Main.runMonoDex(Main.java:315)
	at com.android.dx.command.dexer.Main.runDx(Main.java:293)
	at com.android.dx.command.dexer.Main.main(Main.java:249)
	at com.android.dx.command.Main.main(Main.java:94)
Caused by: java.lang.InterruptedException: Too many errors
	at com.android.dx.command.dexer.Main.processAllFiles(Main.java:684)
	... 4 more
 

MikeSW17

Active Member
Licensed User
Longtime User
Did you follow ALL the (re-)install instructions ( https://www.b4x.com/b4a.html ), Carefully and noting there are 3 items to download in the instructions.
It's always a good idea to delete the previous "\Java" and "\Android" folder trees before unpacking the .Zip files - and USE 7Zip, rather than windows extract.
 
Upvote 0
Top