docs: 添加模拟器启动与 adb logcat 命令
This commit is contained in:
parent
24cb8fd3fe
commit
c9bdff9063
@ -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
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user