How big is your project, who many libraries etc?
This is the compile times from one of my larger B4A projects. This project uses a number of B4XPages and a lot of libraries, it compiles relativly quickly with no issues whatsoever. I have noticed that the apk file size is larger in size now, but that doesn't really bother me.
B4A Version: 13.00
Parsing code. (0.14s)
Java Version: 19
Building folders structure. (0.55s)
Running custom action. (0.30s)
Compiling code. (0.17s)
ObfuscatorMap.txt file created in Objects folder.
Compiling layouts code. (0.03s)
Organizing libraries. (0.10s)
(AndroidX SDK)
Compiling resources (2.10s)
Linking resources (0.44s)
build tools: 34.0.0, android jar: android-34
Compiling generated Java code. (5.04s)
Finding libraries that need to be dexed. (0.05s)
Dex code (5.65s)
Dex merge (5.65s)
Copying libraries resources (2.13s)
ZipAlign file. (0.05s)
Signing package file (private key). (0.76s)
Probably makes no different, but have you tried cleaning the project, could it be the specs of your machine or a slow drive???