Beta: Very slow compiling

nfordbscndrd

Well-Known Member
Licensed User
Longtime User
When I tried to compile a large app, it was very slow but finally it came up on the tablet and ran fine. However, the compile window still showed the progress bar at 99% or more. After a while, the window went away but the debug window still showed a broken link. After a minute or two, the debug window closed. I could still run the app.

So I tried a small test app of about 50 lines. I changed the time-out from 120 seconds to 300 seconds. The progress bar has only gone about 1/10th of the way and doesn't seem to be moving anymore. It just says "Compiling generated Java code." Now the bar is about 1/3rd over and the "Process is running longer..." window opened.

I'm compiling to a tablet connected via USB.
 

nfordbscndrd

Well-Known Member
Licensed User
Longtime User
Compiling the 50-line app again; this time the results were a little different:

B4X:
Compiling code.                      0.17
Generating R file.                   0.67
Compiling generated Java code.       1.37
Convert byte code - optimized dex.   0.51
Packaging files.                     0.33
Copying libraries resources          0.08
Signing package file (debug key).

At this point, the progress bar was about half way across and quit moving, then after a couple of more minutes, the "Process is running longer than expected." window came up and the progress bar jumped to about 3/4.

I said No, not to cancel. It sat for another couple of minutes then added "Error" to the "Signing package file" line and said "Process timed out."

I had changed the timeout to 300 seconds, but I just checked and it's back to 120 seconds.
 
Top