MitchBu Active Member Licensed User May 1, 2019 #1 I searched the forum to no avail. Last time I worked with B4A it was 6.x and I used log() to send messages to the message pane. I try to run older code in the IDE, and I am told it is deprecated. Anything replaces it ? Thank you in advance.
I searched the forum to no avail. Last time I worked with B4A it was 6.x and I used log() to send messages to the message pane. I try to run older code in the IDE, and I am told it is deprecated. Anything replaces it ? Thank you in advance.
Computersmith64 Well-Known Member Licensed User May 1, 2019 #2 Log() isn't deprecated. Are you sure the warning isn't referring to something else? - Colin.
MitchBu Active Member Licensed User May 3, 2019 #3 You are right. Log itself does not seem to be deprecated. I was confused by this message : --- B4A Version: 9.01.2 Java Version: 8 Parsing code. (0.00s) Building folders structure. (0.03s) Compiling code. (0.01s) Compiling layouts code. (0.00s) Organizing libraries. (0.00s) Generating R file. (0.00s) Compiling generated Java code. (0.57s) Convert byte code - optimized dex. (0.24s) Packaging files. (0.13s) Copying libraries resources (0.00s) Signing package file (debug key). (0.37s) ZipAlign file. (0.02s) Installing file to device. (0.03s) Installing with B4A-Bridge. *** Legacy debugger is deprecated. *** It is recommended to switch to the default debugger (Tools - IDE Options). Completed successfully.
You are right. Log itself does not seem to be deprecated. I was confused by this message : --- B4A Version: 9.01.2 Java Version: 8 Parsing code. (0.00s) Building folders structure. (0.03s) Compiling code. (0.01s) Compiling layouts code. (0.00s) Organizing libraries. (0.00s) Generating R file. (0.00s) Compiling generated Java code. (0.57s) Convert byte code - optimized dex. (0.24s) Packaging files. (0.13s) Copying libraries resources (0.00s) Signing package file (debug key). (0.37s) ZipAlign file. (0.02s) Installing file to device. (0.03s) Installing with B4A-Bridge. *** Legacy debugger is deprecated. *** It is recommended to switch to the default debugger (Tools - IDE Options). Completed successfully.
klaus Expert Licensed User May 3, 2019 #4 It seems that you are using the 'legacy debugger'. You should uncheck it!