android - 我在尝试记录输出时收到“E/eglCodecCommon: GoldfishAddressSpaceHostMemoryAllocator: ioctl_ping failed for device_type=5, ret=-1”错误
问题描述
我正在学习 Kotlin 并尝试记录我尝试过的事情的输出,但我明白了
E/eglCodecCommon: GoldfishAddressSpaceHostMemoryAllocator: ioctl_ping 对 device_type=5 失败,ret=-1
错误信息
package com.example.intro_to_kotlin
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
var todaysDate: Int = 27
todaysDate = 28
var dateString = todaysDate.toString()
Log.d("Main Activity", dateString) //I believe the issue is here where I tried to log the
//the output of dateString
val daysInMArch: Int = 31
}
}
解决方案
推荐阅读
- graphicsmagick - 使用 graphicsmagick 调整和裁剪图像
- bash - 使用 Sed 覆盖 url 配置文件
- hdfs - 使用 Spark Streaming 分析日志
- git - 变基后旧的tip和新的tip一样吗?
- c# - smtp.office365.com 给出 net_io_connectionclosed
- r - shinyFiles::shinyDirChoose() + visNetwork 的问题... shape="icon"
- git - 由于冲突,带有 --preserve-merges 的 Git rebase 无法重新应用合并提交
- docker - 如何使用 docker-compose 发布端口(桥接默认网络)
- ruby-on-rails - 在多个方法中添加相同的代码
- python - 更改 numpy 数组的形状和 dtype