久久r热视频,国产午夜精品一区二区三区视频,亚洲精品自拍偷拍,欧美日韩精品二区

您的位置:首頁技術文章
文章詳情頁

修改Android Studio 的 Logcat 緩沖區大小操作

瀏覽:132日期:2022-09-24 16:06:03

找到 Android Studio的安裝目錄binidea.properties 文件

將文件中的idea.cycle.buffer.size=1024 改成 例如: idea.cycle.buffer.size=102400

修改Android Studio 的 Logcat 緩沖區大小操作

另一個設置方式是:

修改Android Studio 的 Logcat 緩沖區大小操作

補充知識:logcat 設置緩存區 設置buff

logcat 的buff 有2種分配方式,一種是在kernel的,一種是logd, MM用的是在logd的這種的

system/core/liblog/Android.mkifneq ($(TARGET_USES_LOGD),false)liblog_sources := logd_write.c log_event_write.celseliblog_sources := logd_write_kern.cendif

修改logcat的buff有可以從開發者選項中設置,

也可以從logcat -G 10M 設置

root@xx:/ # logcat -gmain: ring buffer is 4Mb (839Kb consumed), max entry is 5120b, max payload is 4076bsystem: ring buffer is 4Mb (2Mb consumed), max entry is 5120b, max payload is 4076bcrash: ring buffer is 4Mb (0b consumed), max entry is 5120b, max payload is 4076broot@xx:/ # logcat -G 11Mroot@xx:/ # logcat -g main: ring buffer is 11Mb (854Kb consumed), max entry is 5120b, max payload is 4076bsystem: ring buffer is 11Mb (2Mb consumed), max entry is 5120b, max payload is 4076bcrash: ring buffer is 11Mb (0b consumed), max entry is 5120b, max payload is 4076broot@xx:/ #

以上這篇修改Android Studio 的 Logcat 緩沖區大小操作就是小編分享給大家的全部內容了,希望能給大家一個參考,也希望大家多多支持好吧啦網。

標簽: Android
相關文章:
主站蜘蛛池模板: 改则县| 富锦市| 九龙县| 定结县| 高安市| 仙居县| 容城县| 离岛区| 潮安县| 晋城| 巫溪县| 拜泉县| 乌鲁木齐市| 林西县| 永善县| 沛县| 策勒县| 宁海县| 渝北区| 广河县| 辉南县| 贵溪市| 瓮安县| 鹤庆县| 襄垣县| 泽库县| 望奎县| 长乐市| 咸宁市| 大冶市| 武汉市| 康平县| 姚安县| 青阳县| 福州市| 威远县| 九台市| 汕头市| 大宁县| 富宁县| 扎鲁特旗|