Android Question The LOG does not work for me

Gerardo Tenreiro

Active Member
Licensed User
Hello
I haven't used B4A in a while, I'm more of a B4R fan, but I'm trying to make a small APP in B4A and the first problem I have is that the LOG doesn't work for me, not even with the simplest thing of making an example like this.
Sub Globals
'These global variables will be redeclared each time the activity is created.
End Sub

Sub Activity_Create(FirstTime As Boolean)
Log("Arranque APP")
Activity.LoadLayout("Layout")
End Sub

Sub Activity_Resume

End Sub

Sub Activity_Pause (UserClosed As Boolean)

End Sub

Sub Button1_Click
xui.MsgboxAsync("Hello world!", "B4X")
Log("Hello world!")
End Sub

I am connected by WIFI to the phone, the APP loads correctly on the phone but the LOG stays like this

1709898316997.png


Any Suggestions?
thank you so much
 

Gerardo Tenreiro

Active Member
Licensed User
Checking I see that I already have the developer option activated.

This worked for me before but I haven't used it in a while and now it doesn't work

Any ideas?
thank you so much
 
Last edited:
Upvote 0

Gerardo Tenreiro

Active Member
Licensed User
On my OPPO, when I try to activate the developer option, it tells me that it is active and does not allow me anything else.
Are you sure that's what it is?
Wouldn't it be something else?
Where can I search?
Thank you
 
Upvote 0

mangojack

Well-Known Member
Licensed User
Longtime User
I Have an Oppo A16.
On this phone Developer options was located at Settings > Additional Settings > Developer Options.

There was additional settings here regarding logging etc.
 
Upvote 0

Gerardo Tenreiro

Active Member
Licensed User
Thank you very much, I already located the developer options menu, there are many options
My phone is an OPPO A5. What options do I have to activate for the LOG to work?
Does anyone use this terminal and does the LOG work?

Thank you so much
 
Upvote 0

mangojack

Well-Known Member
Licensed User
Longtime User
Thank you very much, I already located the developer options menu, there are many options
My phone is an OPPO A5. What options do I have to activate for the LOG to work?
Does anyone use this terminal and does the LOG work?

Thank you so much

One setting I can suggest to check ..

In Developer Options / Debugging section , Logger buffer sizes ..

Confirm it is Not set to OFF . (mine is set @ 256k)

Other than that there is no more I can suggest to help with your issue.
 
Upvote 0
Top