Android Question Slow compile/save

Charles

Member
Licensed User
Longtime User
Just upgraded to B4A 5.8 and have noticed that my compile time is taking so long to get started that I think I miss-clicked. When I save a file it also takes so long I wonder if I've miss-clicked as well.
If I try clicking on any other toolbar or menu item I get (Not Responding) error message.
Eventually it goes away and my app runs as expected.

Any Ideas?
compile log below:
LogCat connected to: B4A-Bridge: samsung SM-T800
--------- beginning of /dev/log/main
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (CallSubDelayed - JobDone)
Streams_terminated
sending message to waiting queue (CallSubDelayed - UpdateStatus)
Connected to B4A-Bridge (Wifi)
sending message to waiting queue (CallSubDelayed - UpdateStatus)
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Service (httputils2service) Create **
** Service (httputils2service) Start **
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (CallSubDelayed - JobDone)
GC_CONCURRENT freed 1946K, 37% free 6554K/10372K, paused 7ms+3ms, total 58ms
Copying updated assets files (1)
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Service (httputils2service) Create **
** Service (httputils2service) Start **
Error occurred on line: 401 (Main)
Copying updated assets files (1)
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Service (httputils2service) Create **
** Service (httputils2service) Start **
Copying updated assets files (1)
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Service (httputils2service) Create **
** Service (httputils2service) Start **
Copying updated assets files (1)
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Service (httputils2service) Create **
** Service (httputils2service) Start **
Copying updated assets files (1)
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Service (httputils2service) Create **
** Service (httputils2service) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Service (httputils2service) Create **
** Service (httputils2service) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Service (httputils2service) Create **
** Service (httputils2service) Start **
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (CallSubDelayed - JobDone)
 

Charles

Member
Licensed User
Longtime User
OK, I don't know where to find the compile log (F6) if that isn't it.
The delay seems to be tied to saving the project before the compiler starts.
I got the log info above from here. :)

upload_2016-3-1_12-49-25.png
 

Attachments

  • upload_2016-3-1_12-47-39.png
    upload_2016-3-1_12-47-39.png
    74.2 KB · Views: 143
Upvote 0

Charles

Member
Licensed User
Longtime User
ARG, hanging head, looking at floor. groan.

B4A version: 5.80
Parsing code. (0.01s)
Compiling code. (0.03s)
Compiling layouts code. (0.00s)
Generating R file. (0.13s)
Compiling generated Java code. (0.62s)
Convert byte code - optimized dex. (0.47s)
Packaging files. (0.20s)
Copying libraries resources (0.00s)
Signing package file (debug key). (0.33s)
ZipAlign file. (0.07s)
Installing file to device. (0.02s)
Installing with B4A-Bridge.
Completed successfully.

Everything here looks good to me. I'm mostly convinced that it is the save file that is holding everything up.
 
Upvote 0

Charles

Member
Licensed User
Longtime User
The slow down takes place before the compile window opens.
The project is saved in my documents folder.
 
Upvote 0
Top