简体   繁体   English

Android Emulator上不再显示菜单项图标

[英]Menu item icons no longer display on Android Emulator

As the title says, my menu items no longer have their icons in the Android emulator. 正如标题所说,我的菜单项在Android模拟器中不再有他们的图标。 I am developing with API 16 and recently downloaded an update that became available for the SDK and the ARM image. 我正在使用API​​ 16进行开发,并且最近下载了可用于SDK和ARM映像的更新。 Even after removing and reinstalling the whole Android SDK, the issue persists. 即使在删除并重新安装整个Android SDK之后,问题仍然存在。 I know that it isn't my own code because I reverted to a known version and it also has the same issue. 我知道这不是我自己的代码,因为我恢复了已知版本,它也有同样的问题。 The same version runs on an actual device as expected. 相同版本按预期在实际设备上运行。 I also previously ran the app on the emulator using API 7 and the icons appear just fine. 我之前也使用API​​ 7在模拟器上运行了应用程序,图标显示得很好。 Does anyone know if this is a known issue with the recent update? 有谁知道这是最近更新的已知问题?

Screenshot: 截图:

在此输入图像描述

Previously, the menu items all appeared in a row at the bottom with icons above the text. 以前,菜单项全部出现在底部的行中,文本上方有图标。

As the title says, my menu items no longer have their icons in the Android emulator. 正如标题所说,我的菜单项在Android模拟器中不再有他们的图标。

This is the way the overflow appears on Android 4.0+, for devices and emulators with an off-screen MENU button. 对于具有屏幕外MENU按钮的设备和模拟器,这就是Android 4.0+上出现溢出的方式。

Even after removing and reinstalling the whole Android SDK, the issue persists. 即使在删除并重新安装整个Android SDK之后,问题仍然存在。

It will persist on the tens of millions of Android 4.x devices as well, or at least those that have a MENU button. 它将持续存在于数以千万计的Android 4.x设备上,或者至少是那些具有MENU按钮的设备。 Devices sans MENU button will have a similar-looking drop-down menu, emanating from the ... affordance on the right side of their action bar. 设备没有菜单按钮将有一个类似外观的下拉菜单,来自他们的操作栏右侧的...可供性。

The same version runs on an actual device as expected. 相同版本按预期在实际设备上运行。

That actual device is not running Android 4.x, presumably. 据推测,该实际设备未运行Android 4.x.

Does anyone know if this is a known issue with the recent update? 有谁知道这是最近更新的已知问题?

If by "recent update" you mean the nearly-year-old release of Android 4.0, then yes. 如果通过“最近的更新”你的意思是Android 4.0的近一年的发布,那么是的。

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

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