Android studio interface - Expand/Collapse code not visible - android-studio

After exiting full screen mode on android studio the interface did not show up correctly, I fixed some of them by myself, I just cant seem to fix the last one.
The + and - to expand or collapse functions/methods is not showing, I can still do this by going to the toolbar > code > folding > Expand/Collapse.
I did try restarting android studio (few times), tried searching on google and looked into android studio's settings.
Android studio 2.2.2
Windows 10 home
NVIDIA GeForce GTX 960M

Related

Windowed mode emulator after Bumblebee update

Today I updated my Android Studio from the Arctic Fox to Bumblebee 2021.1.1, and I realized my AVD and emulator windows changed a bit. They were on separate windows, now they are on the right side-menu.
I windowed the emulator again to get the old style, but the mobile-phone on the emulator is not separated from the menu. In the older version, I only had the phone as a separate window, I didn't have window bars and side fillers that are marked on the picture below. How can I get rid of them and only get the phone instead of the whole window? I don't want it as "emulator window" but rather plain "phone".
If you want the old look in Arctic Fox, go to
File->Settings->Tools->Emulator and unselect "Launch in a tool window".
This way it will launch it seperately which is the same as in the old version.
For Mac go to Android Studio Preferences - Tools - Emulator and uncheck Launch in a tool window.

Android Studio Emulator no more considering Swipes on Notebook Touchscreens as Input

I upgraded to Android Studio Bumblebee 2021.1.1 and realized that I cannot fully control the emulator with the touchscreen of my notebook anymore. Press events on the touchscreen (like mouse clicks) are still recognized correctly, but when I swipe nothing happens in the emulator.
Unfortunately, I did not note down the previous version of Android Studio that I had installed before, but with previous Android Studio versions I was always able to fully control the Android emulator via the touchscreen (as if I was actually testing my app on a real mobile phone).
My Google searches did not show any results related to this issue. Does anyone have an idea what the root cause could be and if it is possible to fix it?
Disabling launch in tool window in Settings::Tools::Emulator fixed it for me (requires emulator restart to take effect).
Credits to YuriBlaise on reddit

Arctic Fox: Android emulator doesn't have back button

When creating emulator in AVD manager, enable hardware button was checked but there is still no hardware button below. It is android studio Arctic Fox and API level 30. Anything wrong with android studio? It is on macOS Big Sur.
You may try re-installing the emulator...
In case it doesn't work, check in your Emulator Android Settings, like their in our Android Phone that Full-Screen Display is disabled.
Settings > Display > Full screen display > Enable Buttons (Disable Full screen gestures)
When API level is reduced to 27, the emulator has hardware button and other features Android phone has.

Touch Bar icons not showing for Android Studio after update

I'm using a MacBook for the first time.
I had Android Studio 4.0 or 4.1 (I think) installed. It used to show me all the icons in the Touch Bar like the green run icon and the debug icons so I could use them directly from there. Even when in debug mode I used to get all the icons for stepping over or stepping into code.
After that I updated Android Studio 2-3 times and I am currently on Android Studio 4.2.1 and it has stopped showing any of the Touch Bar icons for Android Studio since the first time I updated. There are times when debugging that the debugging icons show for a while and then suddenly disappear. I'm facing this issue only with Android Studio.
According to another answer online, I am supposed to have a folder for Touch Bar (Settings) under Android Studio: Preferences > Menu and Toolbars but I don't have and folder for Touch Bar Settings there.
Can any one help me resolve this issue?
Thanks
answer in https://developer.android.com/studio/known-issues
To resolve this issue, revert any customizations you have made to those buttons as follows:
Select File > Settings (or Android Studio > Preferences on macOS).
On the left of the window, navigate to Appearance & Behavior > Menus and Toolbars.
On the right side of the window, navigate to Main Toolbar > Toolbar Run Actions and select Run/Debug.
Near the top of the window, click Revert. and select Restore Run/Debug.
Click OK. You should now see the missing buttons in the toolbar.
Open Terminal and type the following commands:
mkdir -p ~/Library/Frameworks/nst.framework/
cd ~/Library/Frameworks/nst.framework/
ln -s path/to/android/studio/install/Contents/bin/libnst64.dylib nst
This issue has been resolved after I upgraded to
Android Studio Arctic Fox | 2020.3.1
Build #AI-203.7717.56.2031.7583922
An interesting thing about Android Studio Artic Fox is that it has changed the versioning scheme to match that of it's parent product, the Intellij IDEA 2020.3.1. So rather than Android Studio 4.3 it is now Android Studio 2020.3.1 with code name Artic Fox. This will keep the versioning schemes systematic.
There are a lot of cool feature updates too.
Check more at this link Android Studio Artic Fox release notes

Android Emulator Screen Size Issue

My Android studio emulator screen is off the original positioning and I have tried resizing, reloading the emulator, and Android studio to no avail.
What is wrong with the emulator Display?
I have Alieanware 17 ( Dell Gaming Series ) when i updated my android studio version after week emulator screen shows small and not same size with skin fame size. i found in internet but no solutions after i searched many links Android Emulator Screen Size not the same as device frame see this links help me but in that when i choose software option in graphic setting in emulator device configuration. my emulator going slow. it also say that use this option when computer graphic issue.
here images shows before setting apply and after setting apply
Experienced the same problem as Solanki after updating from 3.1.2 to 3.1.3 (and Gradle update). Configuring the AVD graphics from/to "Automatic" had no effect.
Restarting and (installing Windows 10 updates - coincidence?) solved the problem and all running normally on start up.
you can just go to settings -> system -> scale and layout then change the size of text apps and other items to 125% restart android studio and run again the emulator.
good luck !
Update android studio if it's not up to date then go to settings and then in emulator tab tick on "Launch in a tool window". It will work
See Screenshot
Not sure if this helps, but I had this same problem (together with the side panel menu being overly large) after updating from Android Studio 2.3.0 to 2.3.1. After restarting my computer it went away...

Resources