Q qsrtech Active Member Licensed User Longtime User Sep 25, 2012 #1 I believe after switching to 2.2 and bridge 2.07 my log(...) seems to get output twice. It was really confusing at first cause I thought my subs were being called twice. Just tried with emmulator and it seems ok...
I believe after switching to 2.2 and bridge 2.07 my log(...) seems to get output twice. It was really confusing at first cause I thought my subs were being called twice. Just tried with emmulator and it seems ok...
Erel B4X founder Staff member Licensed User Longtime User Sep 26, 2012 #2 Which device are you using? This is most likely related to this change: B4A-Bridge and Android 4.1+ logs
Which device are you using? This is most likely related to this change: B4A-Bridge and Android 4.1+ logs
Erel B4X founder Staff member Licensed User Longtime User Sep 27, 2012 #4 Are you running the beta version?
Q qsrtech Active Member Licensed User Longtime User Sep 27, 2012 #5 yes 2.20 (help actually says 2.14) and bridge 2.07
Erel B4X founder Staff member Licensed User Longtime User Sep 27, 2012 #6 Fixed for the stable version.
ValDog Active Member Licensed User Longtime User Apr 5, 2013 #7 I am using v2.52 of B4A and v2.07 Bridge, and am also seeing duplicate log entries. Can this be corrected?
I am using v2.52 of B4A and v2.07 Bridge, and am also seeing duplicate log entries. Can this be corrected?
klaus Expert Licensed User Longtime User Apr 5, 2013 #8 Me too, I get double Logs. B4A V2.52 B4ABridge V2.07 Android 4.1.1 Best regards.
Erel B4X founder Staff member Licensed User Longtime User Apr 8, 2013 #10 This is strange. Starting from Android 4.1 the permission log should be rejected. Do you see the logs (once) when you run in Release mode, when B4A-Bridge is connected?
This is strange. Starting from Android 4.1 the permission log should be rejected. Do you see the logs (once) when you run in Release mode, when B4A-Bridge is connected?
klaus Expert Licensed User Longtime User Apr 8, 2013 #11 Two times in Debug mode. One time in Release mode. Best regards.
Erel B4X founder Staff member Licensed User Longtime User Apr 9, 2013 #13 The permission change is described here: Issue 34792 - android - Android Jelly Bean / 4.1: android.permission.READ_LOGS no longer works - Android - An Open Handset Alliance Project - Google Project Hosting Are your devices rooted? On most Android 4.1 devices there will be no logs at all when running in Release mode as B4A-Bridge cannot read the logs of other applications (USB debugging can read all the logs). In Debug mode the application sends its logs to B4A-Bridge which then sends the messages to the IDE.
The permission change is described here: Issue 34792 - android - Android Jelly Bean / 4.1: android.permission.READ_LOGS no longer works - Android - An Open Handset Alliance Project - Google Project Hosting Are your devices rooted? On most Android 4.1 devices there will be no logs at all when running in Release mode as B4A-Bridge cannot read the logs of other applications (USB debugging can read all the logs). In Debug mode the application sends its logs to B4A-Bridge which then sends the messages to the IDE.
ValDog Active Member Licensed User Longtime User Apr 9, 2013 #16 I've been seeing this behavior on my Motorola RAZR phone which is running Android v4.1.2. When I used my Google Nexus 7 (which is running v4.2.2) I did not see the duplication.
I've been seeing this behavior on my Motorola RAZR phone which is running Android v4.1.2. When I used my Google Nexus 7 (which is running v4.2.2) I did not see the duplication.
Dave O Well-Known Member Licensed User Longtime User Mar 21, 2014 #17 Was this ever resolved? I'm getting it in B4A 3.50 on my Galaxy S3 running Android 4.3, not rooted. Makes debugging a bit harder.
Was this ever resolved? I'm getting it in B4A 3.50 on my Galaxy S3 running Android 4.3, not rooted. Makes debugging a bit harder.
Erel B4X founder Staff member Licensed User Longtime User Mar 21, 2014 #18 Download and install the attached B4A-Bridge. It removes the workaround for Android 4.1+ devices. Attachments b4a_bridge.apk b4a_bridge.apk 157.6 KB · Views: 653
Dave O Well-Known Member Licensed User Longtime User Mar 21, 2014 #19 Yep, that fixed it. Thanks Erel!