Windows 10 中的 Android AVD 模拟器缩放问题

标签 android android-emulator windows-10 avd android-studio-2.3

我在 Windows 10 Andorid Studio 2.3.3 上,我创建了一个具有以下配置的 android avd,但显示无法正确缩放,显示只会在一个角落。

 Name: 4_WVGA_Nexus_S_API_23 
 CPU/ABI: Google APIs Intel Atom (x86) 
 Path: C:\Users\user\.android\avd\4_WVGA_Nexus_S_API_23.avd 
 Target: google_apis [Google APIs] (API level 22) Skin: 480x800 
 SD Card: C:\Users\user\.android\avd\4_WVGA_Nexus_S_API_23.avd\sdcard.img hw.dPad: no 
 runtime.network.speed: full 
 hw.accelerometer: yes 
 hw.device.name: 4in WVGA (Nexus S) 
 vm.heapSize: 48 
 skin.dynamic: yes 
 hw.device.manufacturer: Generic 
 hw.gps: yes 
 hw.initialOrientation: Portrait 
 skin.path.backup: _no_skin 
 image.androidVersion.api: 22 
 hw.audioInput: yes image.sysdir.1: system-images\android-22\google_apis\x86\ 
 tag.id: google_apis 
 showDeviceFrame: no 
 hw.camera.back: emulated 
 hw.mainKeys: yes 
 AvdId: 4_WVGA_Nexus_S_API_23 
 hw.camera.front: emulated 
 hw.lcd.density: 240 
 avd.ini.displayname: 4 
 WVGA (Nexus S) API 23 hw.gpu.mode: auto 
 hw.device.hash2: MD5:380daa949ffbfa516f53f3f58637c4b3 hw.ramSize: 512 
 hw.trackBall: no PlayStore.enabled: false hw.battery: yes 
 hw.cpu.ncore: 2 
 hw.sdCard: yes 
 tag.display: Google APIs 
 runtime.network.latency: none 
 hw.keyboard: yes hw.sensors.proximity: yes disk.dataPartition.size: 800M 
 hw.sensors.orientation: yes 
 avd.ini.encoding: UTF-8 
 hw.gpu.enabled: yes

enter image description here

关于如何解决缩放问题有什么想法吗?

最佳答案

好的,您需要为此应用禁用 Windows 10 缩放。在运行时在任务管理器中找到它。 The Emulator Process右键单击“Android 模拟器 - [设备名称]”A Right Click (Slightly Miss aligned)并选择打开文件位置。您现在应该看到突出显示模拟器 exe 的文件夹。 Emulator Folder现在右键单击exe并打开属性。然后转到“兼容性”选项卡。 Compatibility Tab现在打开“更改高 DPI 设置”。这就是魔法发生的地方。使用这些设置,值得注意的是由“系统”执行的缩放,这意味着我们不会信任 qemu 进行缩放(它会忽略并导致问题)enter image description here

关于Windows 10 中的 Android AVD 模拟器缩放问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45847429/

相关文章:

java - 如何将json文件添加到android项目

java - 值(value)增加 1 会永远持续下去

Android模拟器奇怪的图形卡在屏幕上

android - 在 Android 中启用铃声

asp.net - 如何在 Windows 10 上的 IIS 10 中运行 ASP.NET MVC 应用程序

android - xml解析中如何解析属性中的值

Android 模拟器无法在 AMD Ryzen 2400G 上运行

windows-store-apps - 用于商店提交的 .appxupload UWP 包不包含 .appxsym 文件

visual-studio-2017 - 如何设置 Visual Studio 2017 来开发驱动程序?

android - 一个意料之外的问题发生了。请稍后再试。 (738369013) 提交到 PlayStore 时