From c9bdff90639dbc4bbd9c2a3d5239552ca66e60dc Mon Sep 17 00:00:00 2001 From: xfy Date: Mon, 1 Jun 2026 16:41:36 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=B7=BB=E5=8A=A0=E6=A8=A1=E6=8B=9F?= =?UTF-8?q?=E5=99=A8=E5=90=AF=E5=8A=A8=E4=B8=8E=20adb=20logcat=20=E5=91=BD?= =?UTF-8?q?=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DEVELOPMENT.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 2258ae9..d7c7586 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -73,7 +73,7 @@ Baseline Profile 自动生成器。 ## 模拟器 -``` +```sh emulator -avd Pixel_10 \ -no-snapshot \ -no-boot-anim \ @@ -83,3 +83,9 @@ emulator -avd Pixel_10 \ -memory 4096 \ -partition-size 2048 ``` + +启动带 adb logcat 的模拟器 + +```sh +./gradlew :app:installDebug && rm -rf logs/1.logcat && adb logcat | tee logs/1.logcat +```