Tagged articles

logcat

5 articles · Page 1 of 1
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Nov 3, 2023 · Mobile Development

Android Logging System Analysis: Architecture, Implementation, and Log Loss Cases

The article dissects Android’s logging system, detailing Java, native, and kernel interfaces, the liblog and logd daemon architecture, logcat usage, common log‑loss scenarios such as socket failures and buffer overflows, and the significant CPU, memory, I/O, and power resources the system consumes.

AndroidMobile DevelopmentSystem Internals
0 likes · 15 min read
Android Logging System Analysis: Architecture, Implementation, and Log Loss Cases
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 28, 2023 · Mobile Development

Android Development Tips: Quick System Version Detection, Custom Button Spacing, Logcat Activity Tracking, and Gradle Configuration

This article presents several practical Android development techniques, including using stack traces to differentiate Android 10 and Android 12 versions, a unique method for setting button spacing via custom XML backgrounds, leveraging logcat to identify launched Activity classes, and configuring Gradle to share local installations for faster project setup.

AndroidButton SpacingTips
0 likes · 8 min read
Android Development Tips: Quick System Version Detection, Custom Button Spacing, Logcat Activity Tracking, and Gradle Configuration
FunTester
FunTester
Aug 10, 2019 · Mobile Development

How to Capture and Gracefully Stop Android Logcat in UiAutomator

This guide explains how to use Java's Runtime API within a UiAutomator test to start, filter, and safely terminate an adb logcat process, including a complete Logcat thread implementation and tips for preventing oversized log files.

AndroidUIAutomatorjava
0 likes · 8 min read
How to Capture and Gracefully Stop Android Logcat in UiAutomator
FunTester
FunTester
Aug 10, 2019 · Mobile Development

Measure Android App Launch Time Using Logcat and Multithreading

This article presents a Java‑based solution that repeatedly launches and closes an Android app while capturing logcat output to automatically calculate splash‑screen and home‑screen launch times, providing a reproducible method for accurate performance testing.

AndroidLaunch Timejava
0 likes · 8 min read
Measure Android App Launch Time Using Logcat and Multithreading
360 Quality & Efficiency
360 Quality & Efficiency
Mar 19, 2019 · Mobile Development

Retrieving and Analyzing Android Logs for Bug Diagnosis

This article explains how to capture Android device logs using adb commands, export them, combine with monkey testing, and then analyze logcat output—including ring buffers, priority levels, and common crash or ANR patterns—to efficiently locate and resolve issues.

ANRcrash-analysisdebugging
0 likes · 6 min read
Retrieving and Analyzing Android Logs for Bug Diagnosis