Android Studio 2.0 QObject:无法从OSX上的另一个线程停止计时器

时间:2016-04-11 20:35:01

标签: android macos android-studio

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为我解决了这个问题。

1 个答案:

答案 0 :(得分:0)

两个不满意的解决方法:

  • 取消模拟器GUI: 模拟器 - 没有窗口.... Aps将在模拟器上运行,但您只能在调试器中看到它们,而不是在显示器上看到

  • 禁止使用GPU: 模拟器-gpu关.... Aps将以完整的用户界面成功运行,但速度非常慢