I am using Android Studio 2.2 on Surface Pro 4 which has high DPI QHD resolution. The issue is with emulator. When I launch AVD manager and create an emulator, following is the result. I have tried changing DPI etc, however, it seems that there is some serious scaling issue.
Interesting thing is that despite the actual display is shrunk to a corner, the touch / input responses are in actual expected place (black area at the botton of the skin for home button etc.)
See the link below for screenshot.
Any idea how this can be fixed ? Thanks
Related
I have install flutter and android studio and setup as usual in new laptop running windows 11 pro. But when I start emulator its fonts are not clear, blurred. I tried switching emulated performance from hardware to software, but not works, is any one facing this issue.
My monitor display resolution 1366 * 768 Scale 100%
I used pixel emulator with 1080* 1920 resolution
and Pixel 3a with 1080*2220 resolution
same problem exist with both emulators.
Actually I don't think there would be a solution for that.
Because this problem is related to down scaling emulator window too much.
But you can do one of these:
1- create a new emulator and use a smaller screen size (around 720p). the downside is that you can not create emulator with Google play system images, as they need 1080p phone screen size. you can still use Google Apis images.
2- use a monitor with at least 1080p resolution.
3- use third party emulators like Memu. you can choose any screen resolution in these emulators, and they come with google play. also their performance is much better than Android studio native emulator.
4- use a physical Android phone.
Why check boxes are so BIG on 240x320 emulator preview screen? As you can see, other controls are shown well. If launch emulator then all looks good. How to fix it? Use preview is much faster than start an emulator.
I'm making an app using Android Studio as my IDE and Genymotion as my emulator and I see a difference between the preview of Android Studio and the real output of Genymotion but I wonder which one trust.
Both of them are using a 768 x 1280 phone but it seems the one in Genymotion is bigger.
Your dpi settings in both are different.
Android Studio is xhdpi. Genymotion is 160 dpi which mdpi (default). In order to properly compare, you'll have to set both the same pixel density and screen resolution.
This is quite hard to answer, but from my experience, the default (i never use Genymotion) emulator is better than the Android Studio's (sometimes i got lazy to use the real device). To cross-check things, you may want to try to run your apps on the default emulator and see the result.
I created custom device with configuration- screen size 5.3 inch and 900x1480 resolution.
Then i created AVD with different OS versions, but emulator never launches. It shows up emulator screen but all the time there is only black screen, not even showing "Android". In DDMS LogCat there are going on some actions but for me it looked like its one big loop repeating.
Also i tried to emulate HTC One (normal-xxhdpi) but there is same problem. In this case it may be there isnt updates made to support xxhdpi.
that happen to me if i set more than 786MB in RAM you should use 512 MB and the emulator will launch
Try selecting "Use Host GPU" in the virtual device settings.
THe AVD setting for Android 2.2 seems too large on my computer, and this is the default value. How can I create one of normal size. Thanks
I'm not the only one: Android Emulator Screen Scale too Large
Right-Click on your project, go to Run As-> Run Configurations, click on the tab 'Target', at the bottom you'll see 'additional emulator command line options', add '-scale 0.75' (to make the screen 75% of full size, set the value to what you want to scale)
I had the same issue. My emulator window was bigger than my computer screen resolution. I did what DoNotCheckMyBlog said.
Choose a smaller screen resolution
Run emulator
Revert back to the original screen resolution size
The emulator will fit.