我在做一些冗长的计算,但很晚才出问题.我try 使用断点,但到目前为止没有成功.所以我在循环中输入了Log.d来监控...

但很快,Logcat崩溃了:

02-08 16:35:42.820 2936-3402/com.nohkumado.geneticsolving.full D/BaseC: 
    norm:BC sq:49.0 dis:0.0 con:50.0/BC sq:56.0 dis:4.0 con:94.0=1.4069148936170213

    read: unexpected EOF!

    --------- beginning of crash

我需要重启录音室,让Logcat再次运行.

我查看了一下是否可以为logcat找到一些缓冲区大小的设置,但是到目前为止我什么也没有找到.我们可以做些什么呢?

推荐答案

Try setting Logger buffer sizes to off under Settings->Developer options, on your device/emulator. This might be happening because Logger buffer is configured to display limited KB of logs only at a particular time. Next set of logs would only be displayed once previous buffer is cleared.

Android相关问答推荐

fillMaxHeight中的分数在列内不起作用(android jetpack compose)

Android 14上的慢速意图广播交付

无法将项目添加到文件室数据库

如何更新Kotlin中的显示?

无法将Kotlin序列化添加到Android项目

Android 11:在try 获取文件的永久权限后,仍然没有读写权限

如何在Jetpack Compose中将对象的移动从一个路径平滑地切换到另一个路径?

触发PurchasesUpdatedListener回调时,billingClient.launchBillingFlow之前设置的成员变量丢失

如何在 Android 的 ViewModel 中使用 LiveData

如何将一个没有 GRADLE 的古老 Android 项目导入到今天的 Android Studio 中?

Kotlin Multiplatform Mobile targetSdk 已弃用

如何在没有人窃取令牌的情况下使用我的移动应用程序中的 API

来自位图的 WearOS 图标不显示 colored颜色

每次在 Jetpack Compose 中调用导航

Jetpack Compose - 每次点击按钮都不起作用

Android - 水平(从右到左)圆形背景 colored颜色 过渡

Jetpack Compose Material3 - switch 标签

可组合的 fillMaxSize 和旋转不起作用

Android:在模块 jetified-play-services-measurement 和 jetified-play-services-measurement-impl 中发现重复类

为什么在try 实例化 Mediaplayer 时会出现 NullPointerException?安卓Kotlin