gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-03 18:09:49 24 4
gpt4 key购买 nike

在2013年末,运行OSX 10.11的iMac尝试运行模拟器会引发QObject: Timers cannot be stopped from another thread错误。我尝试重新安装Intel 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 off ....
Aps将在完整的UI下成功运行,但速度非常慢

关于android - Android Studio 2.0 QObject:无法从OSX上的另一个线程停止计时器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36558754/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com