2013年末,运行OSX 10.11的iMac在尝试运行模拟器时抛出QObject: Timers cannot be stopped from another thread
错误。我尝试过重新安装英特尔HAXM驱动程序,但没有成功。非常感谢您的帮助。
/Users/xxxxxx/Library/Android/sdk/tools/emulator -netdelay none -netspeed full -avd Nexus_9_API_22
emulator: WARNING: VM heap size set below hardware specified minimum of 192MB
emulator: WARNING: Setting VM heap size to 384MB
Creating filesystem with parameters:
Size: 69206016
Block size: 4096
Blocks per group: 32768
Inodes per group: 4224
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 16896
Block groups: 1
Reserved block group size: 7
Created filesystem with 11/4224 inodes and 1302/16896 blocks
Hax is enabled
Hax ram_size 0x60000000
HAX is working and emulator runs in fast virt mode.
console on port 5554, ADB on port 5555
QObject::~QObject: Timers cannot be stopped from another thread
注意:Android 2.1.2为我修复了这个问题。
两个不令人满意的解决方案:
-
取消显示模拟器GUI:模拟器-没有窗口。。。。Aps将在模拟器上运行,但你只能在调试器中看到它们,而不能在显示器上看到
-
禁止使用GPU:模拟器-gpu关闭。。。。Aps将成功运行,具有完整的UI,但非常慢