android - hpet 的模拟器错误和创建传感器端口

标签 android centos

我从最新的 Andriod SDK(在 Ubuntu11.10 和 CentOS6.2 上)得到了 1 个模拟器错误:

[@localhost ~]$/android-sdks/tools/emulator -avd api15&
emulator: WARNING: Unable to create sensors port: Connection refused

在 CentOS6.2 上,也有 HPET 错误。(即使我的 HPET 已经设置为 1024):

[@localhost ~]$ cat /proc/sys/dev/hpet/max-user-freq
1024
[@localhost ~]$/android-sdks/tools/emulator -avd api15&
Could not configure '/dev/hpet' to have a 1024Hz timer. This is not a fatal error, but for better emulation accuracy type: 'echo 1024 > /proc/sys/dev/hpet/max-user-freq' as root.
emulator: WARNING: Unable to create sensors port: Connection refused

我已经无计可施了。它想告诉我什么?任何帮助将不胜感激!

这里是背景信息:

[@localhost ~]$ emulator -version
Android emulator version 16.0 (build_id ICS_MR0-234950)
Copyright (C) 2006-2011 The Android Open Source Project and many others.
This program is a derivative of the QEMU CPU emulator (www.qemu.org).
...

[@localhost ~]cat /etc/issue.net
CentOS release 6.2 (Final)
Kernel \r on an \m

[@localhost ~]uname -a
Linux localhost.localdomain 2.6.32-220.4.1.el6.x86_64 #1 SMP Tue Jan 24 02:13:44 GMT 2012 x86_64 x86_64 x86_64 GNU/Linux

最佳答案

第一个不是真正的问题。在模拟器中,您没有传感器,这就是此处出现错误的原因。这是所有版本的所有模拟器的常见错误。

至于第二种情况,我从来没有注意到这样的错误。

关于android - hpet 的模拟器错误和创建传感器端口,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9257597/

相关文章:

android - unity3d - Android 的独立 UI 线程

Python smtplib 没有属性 SMTP_SSL

database - InnoDB : Error: space header page consists of zero bytes in data file ./ibdata1

android - 重新创建 Twitter 的滑入/滑出 Activity 动画

android - 我怎样才能找到我的日历 Intent 的结果?

android - CallLog.Calls 处的 RuntimeException

终端 Linux 中的 R 工作区

linux - 如何在不访问存储库的情况下更新具有依赖项的 CentOS 软件包

centos - PHP :mbstring module install

android - W/下载管理器(7621): Aborting request for download 11: