Bug? Logging output duplicated on Nexus 5X

Derek Johnson

Active Member
Licensed User
Longtime User
I've just started using a Nexus 5X running Android 7 and I'm getting the filtered Log output duplicated.
This is using developer mode with a direct wired connection.
I've just created the simplest possible App to verify this.
B4X:
Sub Process_Globals
    'These global variables will be declared once when the application starts.
    'These variables can be accessed from all modules.
End Sub
Sub Globals
    'These global variables will be redeclared each time the activity is created.
    'These variables can only be accessed from this module.
End Sub
Sub Activity_Create(FirstTime As Boolean)
    'Do not forget to load the layout file created with the visual designer. For example:
    'Activity.LoadLayout("Layout1")
    Log("Activity Create")
End Sub
Sub Activity_Resume
    Log("Activity Resume")
End Sub
Sub Activity_Pause (UserClosed As Boolean)
    Log("Activity Pause")
End Sub

See the log output below. This does not happen with Release Mode, nor are the unfiltered elements duplicated. It doesn't happen when using the B4A-Bridge either.

See the attachment for the Device Details and Build details.

Log.PNG
Model Info.png


I've cured this now. It seems to be related to the Select USB Configuration option. I've now selected "Charging" and the problem seems to have gone away.
 
Last edited:
Top