As soon as I add Firebase Analytics & Auth, my compilation time goes from 10 seconds to over a minute, with java.exe using 100%. The first time the compilation times out. When I increase the timeout to 120, I get the following message:
FirebaseAnalytics v. 1.02
FirebaseAuth v. 1.06
#Multidex: true
Added in manifest:
CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase)
CreateResourceFromFile(Macro, FirebaseAuth.FirebaseAuth)
B4X:
B4A Version: 9.00 BETA #4
Parsing code. (0.04s)
Building folders structure. (0.01s)
Compiling code. (0.08s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
Generating R file. (1.03s)
Compiling debugger engine code. (1.65s)
Compiling generated Java code. (3.82s)
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)
FirebaseAnalytics v. 1.02
FirebaseAuth v. 1.06
#Multidex: true
Added in manifest:
CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase)
CreateResourceFromFile(Macro, FirebaseAuth.FirebaseAuth)
Last edited: