I am troubleshooting a strange bug, and I'm seeing this in logcat right when the bad behavior occurs.
--------- beginning of system
What does this mean? I haven't found any native crash logs, or any exceptions, nothing. Just this "beginning of system" line right at the exact time my app is bugging out.
The Logcat window in Android Studio displays system messages, such as when a garbage collection occurs, and messages that you added to your app with the Log class. It displays messages in real time and keeps a history so you can view older messages.
Windows: C:\Users\[username]\AppData\Local\Android\sdk\platform-tools> adb logcat -G 32M; adb shell setprop persist. log. tag.
Logcat is a command-line tool that dumps a log of system messages, including stack traces when the device throws an error and messages that you have written from your app with the Log class. This page is about the command-line logcat tool, but you can also view log messages from the Logcat window in Android Studio.
You need to press Alt + 6 twice to restart the Logcat. Restarting logcat often helps when it becomes irresponsive.
this issue is caused by firebase performance. You can find detailed information here: https://firebase.google.com/docs/perf-mon/get-started-android
my log record is as follows:
--------- beginning of system
--------- beginning of main
--------- beginning of crash
12-25 17:53:40.583 25281 25581 D FirebasePerformance: Creating a new Non Verbose Session: 34bf424qwe12312318ac831ad5459a
12-25 17:53:40.584 25081 25081 D FirebasePerformance: Creating a new Non Verbose Session: 642b3efweqwsafqweqa5a73e1befasadcb2e
12-25 17:53:50.872 25181 25881 D FirebasePerformance: onResume(): com.example.app.ui.splash.SplashScreen: 10309636 microseconds
12-25 17:54:27.026 25381 25501 I FirebasePerformance: Did not receive a HTTP Response Code
12-25 17:54:27.026 25081 25201 W FirebasePerformance: Unable to process the PerfMetric due to missing or invalid values. See earlier log statements for additional information on the specific missing/invalid values.
your mistake is like mine
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With