After upgrading to Android Studio 2.0, I cannot change the screen orientation in the Android emulator - android-studio

Recently I upgraded the Android Studio from 1.5.x to 2.0 stable version.
Before the upgrade I was changing the screen orientation with the Ctrl + F12 or Ctrl + F11 keyboard shortcut but now it doesn't work in the 2.0 version. I also tried Numpad 7 and Numpad 9 (with the numpad on or off) but without success.
Yes, I'm aware that the new Android AVD interface contains a sidebar with various functional shortcuts which includes Rotate left (Ctrl + Left) and Rotate right (Ctrl + Right) icons but it rotate only the the device not the mode (Landscape or Portrait) as it showed in the image below:
How can I change emulator screen orientation to landscape or portrait in the new Android Studio 2.0?
P.S. Please do not mark my question as duplicate, I tried all the solutions from How do I change screen orientation in the Android emulator? and How to rotate the Android emulator display? as those questions were valid for earlier versions of Android Studio.
P.P.S. I'm using Ubuntu 14.04 operating system on a Samsung R530 notebook.

It seems to be a bug. Please check out https://code.google.com/p/android/issues/detail?id=206262 and report the observed behavior.
Edit: Fixed in SDK Tools 25.1.6

This is not a real solution, but if anything don't work, it's good workaround. Just add screenOrientation property to activity in the Manifest file.
<activity
android:name=".MainActivity"
android:screenOrientation="landscape"
/>

After upgrading my operating system from Ubuntu 14.04 to Ubuntu 16.04 the bug disappeared and the Rotate left (Ctrl + Left) and Rotate right (Ctrl Right) works fine.

Related

How to enable Editor pinch to zoom in Android Studio?

As a Mac user, you can pinch to zoom the editor in Android Studio because is based on IntelliJ.
But I can't do that anymore in the latest Android Studio version (4.1)
I've already tried:
checked Change font size with Command + Mouse Wheel in Editor > General
checked actionSystem.mouseGesturesEnabled in Android Studio Registry
No luck at all.
Does anyone have any solution?
I have found a way to Zoom in Android Studio 4.1.1 in macOS 11.1.
open Settings with cmd+,
on search field in top left corner write: mouse
select Editor -> General
in Mouse Control area select: Chance font size with Command+Mouse Wheel
click in OK Button
General Editor Settings
After this configurations I was able to zoom pressing cmd+two fingers on trackpad.
[]'s

Why Android Studio icon in windows taskbar automatically changes?

When I installed Android Studio in my Windows 10 pc, then icon for Android Studio used to be this :
But after a few days, icon has changed itself into this :
How to fix this?
In your taskbar, right click -> Properties -> Untick Use small taskbar icons. (With similar meaning, I don't know the exact original text in English).
The icon file of Android Studio, $ANDROID_STUDIO/bin/studio.ico, is an icon file containing 6 pictures, using the size of visible area to decide which one to use. Asking the taskbar NOT to use small icon will solve your issue.
This bug has been fixed, just delete the studio.ico file and it will work.

Change font used in Android Studio (the IDE, not in apps)

How can I change the font used by Android studio? Worked just switched me to a windows 10 pc from a mac and the font in AS is just too small and thin for my eyes.
Thanks in advance!
You can navigate to File>Settings>Appearance and then check the checkbox Override default font by in image and change the defaults.

Android Studio Fabric Plugin displays wrong characters - the weirdest bug

I have the weirdest display bug in the Fabric Plugin for Android Studio.
Check it out :
Interestingly :
I discovered that each and every character was replaced by its ASCII value minus 2. Ex : "2 PEOPLE" is displayed "0 NCMNJC".
Characters are weirdly overlapping each other. As the typeface is not monospace ('m' takes more space than 'i'), it indicates that the required space for each character is rightfully calculated, but the wrong character is finally displayed.
Any idea ?
I'm running Android Studio 2.3.2 on Windows 10.
Turned out to be a much wider problem I solved by deleting hundreds of fonts following that piece of advice
I don't know which font was causing this and why it only affected this particular plugin of this particular software though.
i'm running windows 7 and run into the same problem what worked for me is :
startMenu>control panel>
top right on control panel window choosing any other view than category >
choose fonts folder>
in the fonts window on the top left choose font setting
and than press the restore default font setting
after all this restart your computer and than you should see the right font displayed also note that i did a full uninstall and reinstall of the fabric.io plugin to android studio before restarting computer cause when i reset the font setting it caused a quick display of the right font and than jumped to the bugged font all over...

How to adjust display resolution in Android Studio 1.2

How can I change display resolution of Android Studio IDE? Background: I was running Android Studio 1.1 on 1920 x 1080 Win 8.1 with 14 inch screen. Although the font was not very clear the size was acceptable. Android Studio has just updated to version 1.2 and the whole IDE resolution has changed. I have tried changing the compatibility setting with no improvement. I can change the editor font and console text to make it readable but the toolbar buttons are too small for comfort.
Update: OK, I've learned to live with it, but I'm surprised no-one else has the problem.

Resources