How to turn off voiceover for Android Studio when it builds? - android-studio

Android Studio talks to me when it builds... Somehow accidentally I enabled this narrator feature, but despite my best attempts of Googling & searching for it I just cannot find the settings to turn it off. Thanks.

Preferences -> Appearance Behavior -> Notifications -> scroll to Gradle Build (logging) -> Uncheck 'Read aloud'

Try the shortcut: hold down the command key (⌘) and tap the F5 key.
If this doesn't work, follow the below steps:
Choose System Preferences from the Apple () menu.
Click on the Accessibility icon in System Preferences, then the VoiceOver item in the list on the left.
Uncheck the Enable VoiceOver box.
If the above both don't work, I suggest you to try this:
Go to Preferences in Android Studio
Go to Appearance & Behaviour --> System Settings
Under Accessibility, uncheck Support screen readers & then restart Android Studio
Hope it helps.

To resolve this I had to delete (rename to be exact) the following folder:
~/Library/Preferences/AndroidStudio3.0
Of course, this also meant that I lost all of my IDE settings, but at least the voice over stopped. 🙏

Related

Open the Emulator in a different window after Android Studio Bumblebee (2021.1.1) update

The emulator is built-in the Android Studio UI by default after updating to the Bumblebee (2021.1.1) version.
As shown in bellow image there are 5 options in view mode for changing it.
I tried all but any of them doesn't show emulator stand alone like older versions.
I want to see emulator like this without any window:
How can I achieve this behavior like in the older versions?
File -> Settings -> Tools -> Emulator -> Uncheck Launch in a tool window, Click ok.
For me, restarting the IDE was required too.
View Mode > Window
Does Work
See screenshot

how to get the 'sync' icon back

With android studio 3.1.4, it has been working fine but suddenly the "sync" icon cannot be found anywhere (did not make any change), happens to any projects now.
Also the combox next to the "Run" icon shows red cross and "This configuration cannot edited"
And it has only Project tab does not have the tab of "Android".
Must be some setting messed up. Is there a way
Looks like the Android plugin got disabled. Please go to Settings | Plugins, find "Android Support" there, check it and restart the IDE.

Android Studio 3.0 Preview missing 'use the same device for future launch' checkbox

I faced a bug with Android Studio 3.0 Preview. When I plug the device, small useful checkbox is missing.
Does anybody know how to enable it?
I had the same issue. You need to disable instant run in your android studio settings, follow below steps:
Open the Settings or Preferences dialog.
Navigate to Build, Execution, Deployment > Instant Run
Uncheck the box next to Enable Instant Run
After that you will have this option and if you will enable instant run again android studio will remember your selected device
Other possibilities for AS 3.0 (limited to your current project AFAICS):
Select the Use same device for future launches option in your project through Run -> Edit Configurations... -> General -> Deployment Target Options -> Use same device for future launches (Target should be set to Open Select Deployment Target Dialog).
In the same menu as above, select Emulator from Target and then choose your preferred AVD through Prefer Android Virtual Device.

Android Studio - disable gradle sync

Every time I load Android Studio (1.5), it runs gradle sync, even though nothing has changed since the last run. The funny thing is that a project that sync-ed properly yesterday will fail for random reasons today. Such as "Error:Cause: peer not authenticated" or "Could not reserve enough space for object heap".
Could I disable automatic gradle sync at startup?
This is a little late, but for anyone else looking:
In "Settings" -> "Appearance & Behavior" -> "System Settings"
Uncheck "Synchronize files on frame or editor tab activation"
You'll have to remember to hit the "Sync Project with Gradle Files" button whenever you make changes to Gradle. (To the left of AVD Manager)
You can disable autoimport in Settings (Preferences) > Build... > Build Tools > Gradle
See How to disable automatic gradle builds?
You can disable auto sync using below steps
Settings -> Appearance & Behavior -> System Settings
Uncheck Synchronize files on frame or editor tab activation

Logcat tab missing from debug window in Android Studio

Somehow I closed the logcat tab from the debug window and now I am unable to get it back.
In Run->Configuration->Logcat I have everything checked.
I do have the logcat tab in Android Monitor window, but not in Debug.
How can I get it back?
I created a bug on on their bug-tracker: https://youtrack.jetbrains.com/issue/IDEA-144525
I think with the release of Android Studio 1.4 the logcat tab has been removed from the Debug view. Now I believe the only place to access it is by opening the Android Monitor view by pressing Alt+6 on Windows or CMD+6 on Mac.
Release notes of Android Studio 1.4 Beta 3 allude to this:
Logcat view mostly rewritten to address a number of stability and usability bugs
In Android Monitor window, click the little tiny button on the top right corner.
No one has seemed to mention this, but make sure you are inside the "android" directory and not the root directory of your project (React Native). Logcat will not display otherwise.
Click on Android Monitor at the bottom of the screen.
and then you should see there are a tab call "Logcat" next to "Memory" tab.
In Android Studio 3.5.2, Logcat can be shown from View > Tool Windows > Logcat
For some reason in a specific project, it wasn't found using this way, but I could fix it as following:
File > Project Structure > Facets > Add > Android > my_module
While I would be a little late for the party, it has been a few years and new version of Studio.
Today when you encounter the bug, your logcat would not be shown, to resolve this you would need to follow these steps:
Menu -> Build -> Make Project
in your settings.gradle comment out everything and sync.
uncomment everything and sync again.
Menu -> Build -> Make Project
Once the project build is done.. your Studio would be ready.
I have encountered several different bugs related to this issue, this scenario covers most of these cases.
Given solutions not worked for me.
I found another solution
Click
View-> Tool Windows -> Logcat
Then the missing Logcat tab appears again.
Android Studio IDE version: (Android Studio Electric Eel | 2022.1.1 Canary 8)
It was working fine and it disappeared suddenly.
After nothing else worked, I ran adb devices to see if my device was correctly attached and TA DA.
adb server wasn't running and started automatically and Android Studio started to show Logcat as always.
➜ adb devices
List of devices attached
* daemon not running; starting now at tcp:5037
* daemon started successfully
0030713775 device
press alt 6.
If you still don't see it there should be a little icon in the top-right corner of the view, press that.
Top Menu:
View -> Tool Windows -> Logcat
Bottom bar:
View -> Appearance -> Tool Windows Bar

Resources