Android Question Not starting debugger / logging

Michael Müller Anywhere

Member
Licensed User
Longtime User
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!
 

Pitag

Member
Licensed User
Longtime User
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:
Upvote 0

Rubsanpe

Active Member
Licensed User
After that system update have you checked if the developer option "USB Debugging" is enabled?

Rubén
 
Upvote 0

Pitag

Member
Licensed User
Longtime User
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

Pitag

Member
Licensed User
Longtime User
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

Similar Threads

Top