Michael Müller Anywhere Member Licensed User Longtime User Dec 1, 2022 #1 Hello, logging hasn't worked for some time. Even after updating from V11.20 to V12 it doesn't work. Here is the message in release mode. Logger verbunden mit: HUAWEI VOG-L29 --------- beginning of main LoadAppImageStartupCache enabled : 1 Not starting debugger since process cannot load the jdwp agent. Fail to acquire dataAnalyzerService... AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@a1c964e SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length endActivityTransaction: margin state not match endActivityTransaction: margin state not match LoadAppImageStartupCache enabled : 1 Not starting debugger since process cannot load the jdwp agent. Fail to acquire dataAnalyzerService... AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@2d06750 [ERROR:simple_version_upgrade.cc(152)] Failed to write a new fake index. this was additional shown in debug mode: endActivityTransaction: margin state not match endActivityTransaction: margin state not match LoadAppImageStartupCache enabled : 1 Not starting debugger since process cannot load the jdwp agent. Fail to acquire dataAnalyzerService... AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@2d06750 length is 0 or exceed MAX: 1024 length is 0 or exceed MAX: 1024 length is 0 or exceed MAX: 1024 length is 0 or exceed MAX: 1024 length is 0 or exceed MAX: 1024 endActivityTransaction: margin state not match Any ideas? Thank you!
Hello, logging hasn't worked for some time. Even after updating from V11.20 to V12 it doesn't work. Here is the message in release mode. Logger verbunden mit: HUAWEI VOG-L29 --------- beginning of main LoadAppImageStartupCache enabled : 1 Not starting debugger since process cannot load the jdwp agent. Fail to acquire dataAnalyzerService... AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@a1c964e SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length endActivityTransaction: margin state not match endActivityTransaction: margin state not match LoadAppImageStartupCache enabled : 1 Not starting debugger since process cannot load the jdwp agent. Fail to acquire dataAnalyzerService... AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@2d06750 [ERROR:simple_version_upgrade.cc(152)] Failed to write a new fake index. this was additional shown in debug mode: endActivityTransaction: margin state not match endActivityTransaction: margin state not match LoadAppImageStartupCache enabled : 1 Not starting debugger since process cannot load the jdwp agent. Fail to acquire dataAnalyzerService... AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@2d06750 length is 0 or exceed MAX: 1024 length is 0 or exceed MAX: 1024 length is 0 or exceed MAX: 1024 length is 0 or exceed MAX: 1024 length is 0 or exceed MAX: 1024 endActivityTransaction: margin state not match Any ideas? Thank you!
Erel B4X founder Staff member Licensed User Longtime User Dec 2, 2022 #2 Are you using B4A-Bridge? Does it work in debug mode? On some devices you need to enable the system logs under the developer settings. Upvote 0
Are you using B4A-Bridge? Does it work in debug mode? On some devices you need to enable the system logs under the developer settings.
P Pitag Member Licensed User Longtime User Dec 3, 2022 #3 Same problem. Huawei P30 lite. I used it on regular basis some month ago with android 10. Now with the latest system update (Android 12) it does not work (in debug and also in release mode). I use B4A-Bridge. Which option in the developer settings is related to the system logs? In 2 older Huawei devices (P10 lite and MediaPad T5, both of them with Android 8) logs works without problems. Last edited: Dec 3, 2022 Upvote 0
Same problem. Huawei P30 lite. I used it on regular basis some month ago with android 10. Now with the latest system update (Android 12) it does not work (in debug and also in release mode). I use B4A-Bridge. Which option in the developer settings is related to the system logs? In 2 older Huawei devices (P10 lite and MediaPad T5, both of them with Android 8) logs works without problems.
Rubsanpe Active Member Licensed User Longtime User Dec 3, 2022 #4 After that system update have you checked if the developer option "USB Debugging" is enabled? Rubén Upvote 0
P Pitag Member Licensed User Longtime User Dec 3, 2022 #5 USB Debug option in the developer setting has a strange behaviour (but maybe is the correct one) I activate the usb debug option, then if i close the settings and reenter again, i always find the usb debug flag deactivated Upvote 0
USB Debug option in the developer setting has a strange behaviour (but maybe is the correct one) I activate the usb debug option, then if i close the settings and reenter again, i always find the usb debug flag deactivated
Michael Müller Anywhere Member Licensed User Longtime User Dec 3, 2022 #6 You are right! I was so blind. On last Huawei-Update the debug-mode was disabled. Now it works - Thank you! Upvote 0
You are right! I was so blind. On last Huawei-Update the debug-mode was disabled. Now it works - Thank you!
P Pitag Member Licensed User Longtime User Dec 3, 2022 #7 In my case the solution does not work. This the unfiltered log Logger connesso a: HUAWEI MAR-LX1A --------- beginning of main LoadAppImageStartupCache enabled : 1 Not starting debugger since process cannot load the jdwp agent. Fail to acquire dataAnalyzerService... AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@b7be3b7 LoadAppImageStartupCache enabled : 1 Not starting debugger since process cannot load the jdwp agent. Fail to acquire dataAnalyzerService... AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@c6681d endActivityTransaction: margin state not match endActivityTransaction: margin state not match LoadAppImageStartupCache enabled : 1 Not starting debugger since process cannot load the jdwp agent. Fail to acquire dataAnalyzerService... AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@d3f80cf endActivityTransaction: margin state not match endActivityTransaction: margin state not match LoadAppImageStartupCache enabled : 1 Not starting debugger since process cannot load the jdwp agent. Fail to acquire dataAnalyzerService... AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@d3f80cf endActivityTransaction: margin state not match endActivityTransaction: margin state not match LoadAppImageStartupCache enabled : 1 Not starting debugger since process cannot load the jdwp agent. Fail to acquire dataAnalyzerService... AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@d3f80cf Invalid ID 0x00000000. Invalid ID 0x00000000. endActivityTransaction: margin state not match endActivityTransaction: margin state not match LoadAppImageStartupCache enabled : 1 Not starting debugger since process cannot load the jdwp agent. Fail to acquire dataAnalyzerService... Invalid ID 0x00000000. AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@683bbf LoadAppImageStartupCache enabled : 1 Not starting debugger since process cannot load the jdwp agent. Fail to acquire dataAnalyzerService... AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@d3f80cf endActivityTransaction: margin state not match endActivityTransaction: margin state not match endActivityTransaction: margin state not match endActivityTransaction: margin state not match LoadAppImageStartupCache enabled : 1 Not starting debugger since process cannot load the jdwp agent. Fail to acquire dataAnalyzerService... AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@d3f80cf endActivityTransaction: margin state not match endActivityTransaction: margin state not match endActivityTransaction: margin state not match endActivityTransaction: margin state not match Upvote 0
In my case the solution does not work. This the unfiltered log Logger connesso a: HUAWEI MAR-LX1A --------- beginning of main LoadAppImageStartupCache enabled : 1 Not starting debugger since process cannot load the jdwp agent. Fail to acquire dataAnalyzerService... AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@b7be3b7 LoadAppImageStartupCache enabled : 1 Not starting debugger since process cannot load the jdwp agent. Fail to acquire dataAnalyzerService... AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@c6681d endActivityTransaction: margin state not match endActivityTransaction: margin state not match LoadAppImageStartupCache enabled : 1 Not starting debugger since process cannot load the jdwp agent. Fail to acquire dataAnalyzerService... AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@d3f80cf endActivityTransaction: margin state not match endActivityTransaction: margin state not match LoadAppImageStartupCache enabled : 1 Not starting debugger since process cannot load the jdwp agent. Fail to acquire dataAnalyzerService... AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@d3f80cf endActivityTransaction: margin state not match endActivityTransaction: margin state not match LoadAppImageStartupCache enabled : 1 Not starting debugger since process cannot load the jdwp agent. Fail to acquire dataAnalyzerService... AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@d3f80cf Invalid ID 0x00000000. Invalid ID 0x00000000. endActivityTransaction: margin state not match endActivityTransaction: margin state not match LoadAppImageStartupCache enabled : 1 Not starting debugger since process cannot load the jdwp agent. Fail to acquire dataAnalyzerService... Invalid ID 0x00000000. AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@683bbf LoadAppImageStartupCache enabled : 1 Not starting debugger since process cannot load the jdwp agent. Fail to acquire dataAnalyzerService... AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@d3f80cf endActivityTransaction: margin state not match endActivityTransaction: margin state not match endActivityTransaction: margin state not match endActivityTransaction: margin state not match LoadAppImageStartupCache enabled : 1 Not starting debugger since process cannot load the jdwp agent. Fail to acquire dataAnalyzerService... AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@d3f80cf endActivityTransaction: margin state not match endActivityTransaction: margin state not match endActivityTransaction: margin state not match endActivityTransaction: margin state not match