Android Question LogCat not working through B4A-Bridge

techknight

Well-Known Member
Licensed User
Longtime User
I am having an issue.

If I use USB debugging mode, and push the Debug app through that, Logcat is able to catch my Log(XXX) with no problem.

However, if I remove the USB cable, and use the B4A-Bridge which I do from time to time, Log(XXX) isnt working, even after hitting connect in the LogCat of the IDE. No dice.

any ideas?
 

b4auser1

Well-Known Member
Licensed User
Longtime User
Google has removed the READ_LOGS permission from Android 4.1+. This means that a running app cannot read any log messages except of its own messages.
B4A-Bridge and Android 4.1+ logs

I created my own class to write messages to file and use method of the class instead of Log statement, when work via B4A-Bridge.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
you also can use my debug-overlay lib or the new lib from informatrix to show your own logs into a systemwindow...
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

techknight

Well-Known Member
Licensed User
Longtime User
But, according to Erel, it was supposedly fixed by using a UDP port with the apps in debug mode? Not even that is working for me now.
 
Upvote 0

mrjaw

Active Member
Licensed User
Longtime User
I have the same problem to debug using my Fire. There is anyway to sove this ?
 
Upvote 0
Top