問題描述
我使用的是 Windows 10,Andorid Studio 2.3.3,我創建了一個具有以下配置的 android avd,但顯示無法正確縮放,顯示只會在一個角落.
I'm on windows 10, Andorid Studio 2.3.3, I created a an android avd with the below configuration but the display won't scale properly, the display will be only in a corner.
關于如何解決縮放問題的任何想法?
Any idea on how the scaling issue can be resolved ?
推薦答案
好的,所以您需要為此應用禁用 Windows 10 縮放.運行時在任務管理器中找到它. 右鍵單擊??Android 模擬器 - [設備名稱]" 并選擇打開文件所在位置.您現在應該會看到突出顯示模擬器 exe 的文件夾. 現在右鍵單擊 exe 并打開屬性.然后轉到兼容性"選項卡. 現在打開更改高 DPI 設置".這就是魔法發生的地方.使用這些設置,值得注意的是由系統"執行的縮放,這意味著我們不會信任 qemu 進行縮放(它會忽略并導致問題)
Ok so you need to disable windows 10 scaling for this app. While its running find it in task manager. Right click on "Android Emulator - [Device Name]" and chose open file location. You should now see the folder with the emulator exe highlighted. Now Right click on the exe and open properties. Then go to the "Compatibility" tab. Now open "Change high DPI settings". Here's where the magic happens. Use these settings, Of note is scaling preformed by "System" this means that we wont trust qemu to do the scaling (which it ignores and causes the problem)
這篇關于Windows 10 中的 Android AVD 模擬器縮放問題的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!