Android Question I can't see the debugger's errors when I've an error in my app

Espinosa4

Active Member
Licensed User
Longtime User
Hi,

From long time ago I can't see the debugger's errors (messages) when I've one of them in my app.

Any idea to solve this?

Thanks in advance.
 

MikeSW17

Active Member
Licensed User
Longtime User
Just noticed my Galaxy S20 Android 11 has (new?) WiFi Debug option.
Probably not relevant, as I 've been getting debug messages just fine using B4A Bridge over WiFi, without that setting enabled.
 
Upvote 0

Espinosa4

Active Member
Licensed User
Longtime User
Hi Erel,

I can see only the advertisement... The var x never used etc and the other part I can see only connected with my mobile.

If I write in my code a log, never appears in logs window. But in the past I didn't have problems.
 
Last edited:
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
You must be able to see the logs in order to develop.

Make a test. Start a new project with a different package name. Do you see the logs?
Are you running in debug mode?

If logs are not working with B4A-Bridge then switch to USB debug mode.

On some devices the system logs are disabled and can be enabled in the developer settings.
 
Upvote 0

Espinosa4

Active Member
Licensed User
Longtime User
You must be able to see the logs in order to develop.

Make a test. Start a new project with a different package name. Do you see the logs?
Are you running in debug mode?

If logs are not working with B4A-Bridge then switch to USB debug mode.

On some devices the system logs are disabled and can be enabled in the developer settings.
Good night Erel!
Firstly, Thank you very much for your help.
About the debug... It doesn't work. I started a new project, selected debug,.and with USB debug mode and without it, I can't see the log messages.

Any Idea?
Here a screenshot

 
Upvote 0

Espinosa4

Active Member
Licensed User
Longtime User
You need to find the developer settings and check whether there is an option to enable the system logs.
Oh my gosh! Finally it works again! I think this mobile and the other one I had, they had the same developer settings by default. I had to change the default usb settings to transfer files (+USB debuger checked).

Thank you so much for your help!
Happy New Year for everyone!
 
Upvote 0
Top