Scotter Active Member Licensed User Dec 8, 2016 #1 When I build a release version (apk), should I comment all my Log() commands or does the compiler ignore them? Thanks!
When I build a release version (apk), should I comment all my Log() commands or does the compiler ignore them? Thanks!
victormedranop Well-Known Member Licensed User Longtime User Dec 8, 2016 #2 Its OK to leave that, you can see the logs("") through USB Debug. Upvote 0
KMatle Expert Licensed User Longtime User Dec 8, 2016 #3 victormedranop said: Its OK to leave that Click to expand... It depends how much you log But there's a way: B4X: #if debug Log(msg) #end if So the logs are only created in debug ;-) Upvote 0
victormedranop said: Its OK to leave that Click to expand... It depends how much you log But there's a way: B4X: #if debug Log(msg) #end if So the logs are only created in debug ;-)
Scotter Active Member Licensed User Dec 8, 2016 #4 Where do I find logs created by release version? I realize they are on the phone but trying to find them to find an error. Thanks! Upvote 0
Where do I find logs created by release version? I realize they are on the phone but trying to find them to find an error. Thanks!
Scotter Active Member Licensed User Dec 8, 2016 #5 Can someone help me as to where to look (what folders) on my phone to find out why this app crashes immediately upon running release version over bridge? Thanks! Upvote 0
Can someone help me as to where to look (what folders) on my phone to find out why this app crashes immediately upon running release version over bridge? Thanks!
Erel B4X founder Staff member Licensed User Longtime User Dec 9, 2016 #6 Switch to USB debug mode. It will allow you to see the logs in release mode. Upvote 0