Android Question Do not display log

MicroDrie

Well-Known Member
Licensed User
Longtime User
The good news is that your telephone is connected to your IDE, the bad news is that:
  • Firstly your SDK version 29 is outdated, the current version is 30.
  • Secondly manifest version is outdated, if both the SDK version and the manifest versions are both updated to version 30 the targetsdkVersion error will not showed anymore.
  • Thirdly how can anyone helps you if you do not post your code with the </> tag with your code for your logging?
 
Upvote 0

agraham

Expert
Licensed User
Longtime User
Probably because some Huawei phones have logging disabled for performance reasons. I had this on a couple of Huawei devices I had. Here is the record I made for my future reference.
 
Upvote 0

Brian Dean

Well-Known Member
Licensed User
Longtime User
This sometimes happens to me. I am surprised that I have not seen it raised in the forum before.

Usually the problem is some severe and immediate error - like trying to use an uninitialised asset in Activity_Resume. The app crashes very early and there is nothing in the log page. Then, when I find and fix the bug, on the next run the missing log data appears - it was obviously produced at the right time in the device but something stopped it getting sent until the bug was cleared. There might be several log runs "stored up".

I have always assumed, without any real idea of how the B4A Bridge works, that the crash broke the bridge before it had time to transfer the log data.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…