国产成人精品亚洲777人妖,欧美日韩精品一区视频,最新亚洲国产,国产乱码精品一区二区亚洲

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

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

瀏覽:128日期: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
相關文章:
主站蜘蛛池模板: 达拉特旗| 务川| 博乐市| 文化| 肃北| 将乐县| 尼玛县| 蒙阴县| 南平市| 南江县| 马龙县| 巴南区| 朝阳县| 五河县| 渭南市| 竹北市| 渑池县| 许昌县| 蓝山县| 唐山市| 鄂州市| 茂名市| 九寨沟县| 林州市| 衡阳县| 新邵县| 南和县| 蕉岭县| 九寨沟县| 阳西县| 涞水县| 剑川县| 洞头县| 山丹县| 新巴尔虎左旗| 阳江市| 尼木县| 宿迁市| 安顺市| 松原市| 新河县|