本文介绍了传感器仿真器在Android中冻结!警告:无法创建传感器端口:未知的错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是从OpenIntents软件传感器模拟器。我有1〜2次在我的电脑上运行模拟器但在那之后,由于我的程序有些错误的传感器模拟器停止工作,程序则只是冻结当我试图启动传感器模拟器库。一个Android SDK新的完全安装或无论是新鲜的传感器仿真器安装不解决问题。
当我开始在DOS模式下,Android模拟器它说:警告:无法创建传感器端口:未知的错误。
在其他电脑这个错误不会出现,我认为这个错误甚至当传感器模拟器的工作也没有永远不会出现。关于如何让Android模拟器正确再次与传感器模拟器的工作有什么建议?
我使用Windows 7专业版。

I'm using the Sensor Emulator from OpenIntents. I got 1 or 2 times to run the emulator on my pc but after that due to some errors in my program the Sensor Simulator stopped to work, the program simply freezes when I'm trying to start up the Sensor Emulator Library. An Android SDK new full installation or either a fresh Sensor Emulator installation doesn't solve the problem.When I start the Android Emulator in DOS mode it says: WARNING: Unable to create sensors port: Unknown error.On other Pc's this error doesn't appear and I assume that this error even when the Sensor Simulator worked didn't never appear. Any suggestions about how to get the Android Emulator to properly work again with the Sensor Emulator ??I'm using Windows 7 Pro.

推荐答案

So..I解决了许多工作后的问题。问题是,该传感器还没有被禁止在第一时间为我运行SensorSettings程序。要恢复我打开C中​​的程序:\\用户\\ myuser.android \\ AVD \\ myavd.avd \\文件夹..和设置到位于config.ini文件,并在硬件qemu.ini文件中没有所有的传感器值

So..I solved the issue after many hours of work. The problem was that the Sensors have not been disabled the first time as I run the SensorSettings program. To restore the program I opened the C:\Users\myuser.android\avd\myavd.avd\ folder ..and set to NO all the Sensor values located in the config.ini and in the hardware-qemu.ini files.

这篇关于传感器仿真器在Android中冻结!警告:无法创建传感器端口:未知的错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-31 17:18