简体   繁体   English

GPS冻结Android Emulator 2.0

[英]Android Emulator 2.0 freeze with GPS

The Android Emulator 2.0 freezes some time after GPS is enabled. 启用GPS后,Android Emulator 2.0会冻结一段时间。 The Android part completely freezes, the "control GUI" panel still works (but obliviously no effect to Home etc). Android部分完全冻结,“控件GUI”面板仍然有效(但显然对Home等无效)。
adb lists the emulator but no response for adb logcat etc. adb列出了模拟器,但对adb logcat等没有响应。

The emulator must be closed with ctrl-alt-del. 必须使用ctrl-alt-del关闭仿真器。 Next freeze comes faster. 下一次冻结速度更快。 Instead of occurring within a minute, it occurs within tens of seconds. 它不是在一分钟内发生,而是在几十秒内发生。 The PC must be rebooted to get back to a minute. 必须重新启动PC才能恢复到一分钟。

I want GPS and pressure sensors so GENYmotion and Visual Studio emulators are not an option. 我需要GPS和压力传感器,因此GENYmotion和Visual Studio模拟器不是一个选择。

Windows 10 Pro 64bit (before/after Anniversary Edition) Windows 10 Pro 64位(周年纪念版之前/之后)
8GB RAM, Intel i5-3570, 30GB available on the Windows disk 8GB RAM,Intel i5-3570,Windows磁盘上有30GB
Intel HAXM 6.0.3 英特尔HAXM 6.0.3
Occurs for x86, x86_64, arm. 发生在x86,x86_64,arm上。 Primarily been using Android 7.0 emulator, similar for older versions. 主要使用的是Android 7.0模拟器,与旧版本相似。
Also occurs with fresh AVD 新鲜的AVD也会发生
Default settings for emulators (have tried deactivation multi-core, give more RAM etc) 模拟器的默认设置(尝试停用多核,提供更多RAM等)
AVD launched from AS 2.1.2 and 2.2beta1 从AS 2.1.2和2.2beta1启动的AVD
Nothing seen in system logs, AS logs though: C:\\Users\\.AndroidStudioPreview2.2\\system\\log\\threadDumps-20160814-103215-AI-145.3128856\\freeze-20160814-120115-75\\threadDump-20160814-120226.txt Cannot make out something from the logs. 在系统日志中没有看到任何内容,但是在AS日志中:C:\\ Users \\ .AndroidStudioPreview2.2 \\ system \\ log \\ threadDumps-20160814-103215-AI-145.3128856 \\ freeze-20160814-120115-75 \\ threadDump-20160814-120226.txt无法从日志中找出一些东西。

Google has released an update and closed the issue. Google已发布更新并解决了该问题。 Working for me. 为我工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM