旋转显示时Android模拟器损坏 [英] Android Emulator broken when rotating display

查看:69
本文介绍了旋转显示时Android模拟器损坏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我面临Android模拟器的问题.模拟器启动时,无论默认显示方向如何,一切都很好.当我按下其中一个按钮更改显示方向时,仿真器窗口旋转,但是内容完全混乱了.请参见下面的图片.我创建的所有AVD以及不同的Android图像也会发生相同的情况.我已经从程序包管理器中重新安装/更新了模拟器.知道为什么会这样吗?

I am facing an issue with the Android emulator. When the emulator boots up everything is fine, regardless the default display orientation. When I press one of the buttons to change the display orientation, the emulator window rotates but, the content is completely messed up. See the pic below. The same happens with all the AVDs I have created and with different android images. I've already reinstalled/updated the emulator from package manager. Any idea about why this is happening?

工作环境为:

  • Mac OS Big Sur,
  • Android Studio v4.1.1
  • Android模拟器v30.2.6

谢谢您的帮助.

推荐答案

这是Google Android Emulator 30.2.x版中的错误.

This was a bug in the Google Android Emulator version 30.2.x.

它已在版本 30.3.5 中修复(大约2021年1月8日).像这样应用更新:

It was fixed in version 30.3.5 (approximately 8 January 2021). Apply the update like this:

  • 停止或强制退出所有正在运行的AVD仿真器
  • Android Studio➔工具➔SDK管理器➔SDK工具(单击对话框中间的此选项卡)➔Android模拟器
  • 状态应为更新可用"
  • 单击复选框,以使其从水平线变为选中标记,并在左侧显示下载符号.

  • 点击应用确定按钮
  • 它应为"Android Emulator"下载30.3.5或更高版本.
  • 应用升级后,重新启动模拟器.

这篇关于旋转显示时Android模拟器损坏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆