Android Studio Missing Keymap - Cannot find keymap "Windows Proper Redo" - android-studio

I am seeing a warning message in my event log on android studio that says
Missing Keymap
Cannot find keymap "Windows Proper Redo"
Search for Windows Proper Redo Keymap plugin
I don’t know what to do.
I try to search the error but it doesn't return the result of android studio ide.

It looks like a JetBrains mod answered this in an Intelij Support Forum here
Workaround Instructions:
Navigate to File | Settings | Plugins and install macOS For All keymap (or any keymap).
Switch from Plugins to Keymap settings tab and change it to macOS For All.
Close the IDE and open it again.
Navigate to Keymap in settings and change keymap back to the one you want
Save changes
Optionally, delete macOS For All keymap now that it's no longer needed.

Related

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

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. 🙏

Export shortcuts from Android Studio

Is there a way to export shortcuts from Android Studio? For example, if I want to reinstall my OS and I don't want to setup all the shortcuts manually after that.
Thanks in advance.
For Android Studio before version 4.x: File -> Export settings
After version 4.x: File -> Manage IDE Settings -> Export Settings
Select key maps only if you just want to save your shortcuts.
In Android Studio Version 4, navigate to:
The File menu
Select Settings
Click on Manage IDE Settings
Select Export Settings
Please note that, this instruction may not be accurate as of the latest version of Android Studio and the layout of the menu might have changed. It is always recommended to check the official documentation for the current version of the software for accurate instructions.

Android Studio import shortcuts from Eclipse

From someone who has used Eclipse for awhile I Prefer keeping the same shortcuts in Android studio. Is it possible to import shortcuts in Android Studio from Eclipse ?
Android studio allows you to use the Eclipse default shortcuts. If you go to Settings -> Keymap then you can chose from a selection of preset mappings in a dropdown menu. One of the options is Eclipse.

Android Studio - automatic project load

I cannot find a way to prevent Android Studio from automatically loading the last project in use. I want it open me the beggining window with the list of projects available and not loading the last used automatically.
The location of Reopen last project on startup was moved to Settings => Appearance & Behavior => System Settings with new Android Studio, just uncheck it!
In Appearance & Behavior -> System Setting , also you can change some other setting about open or save projects
Android Studio 2.1.1 MacOS X
UPDATE
This screen can accessed in Android Studio 3.1.3 on MacOS High Sierra by selecting the Android Studio -> Preferences menu
Android Studio or Intellij IDEA:
From the menu go to :
File > Settings >Appearence & Behavior > System Settings.
disable the option:
Reopen last project on startup
Open Settings, go to General and remove check from Reopen last project on startup
If the project that is being reopened is causing android studio to stop responding you may not be able to get to the dialog. I got round this by deleting
~/Library/Preferences/AndroidStudio3.3/options/recentProjects.xml
This allowed me to temporarily start android studio without reopening the offending project, and then permanently disable the reopening feature using the dialog others have mentioned
I ran into this problem on MacOS when I added Android Studio Canary and Intellij. I'm not sure which caused the issue.
Anyway, here's the steps that I used to fix it:
Open Android Studio to see what project it opens; write down that project.
It will freeze, so you need to force quit it.
Erase the nodes where that project name exists. For me it was the last <entry> element and the <option> element in the recentProjects.xml file (location below). Make sure you delete the complete element!
Restart and it should work. Otherwise, repeat for the new recently opened project that is freezing Android Studio.
Where is the file?
~Library/Application Support/Google/AndroidStudio4.1/options
It took me digging up the location of Intellij files then back tracking it to Google then Android Studio to find where the file exists. I hope I save someone the time I wasted on this. :D
Extra note:
The <entry> node is in here:
<application>
<component name="RecentProjectsManager">
<option name="additionalInfo">
<map>

In android studio,cannot load 2 facets-unknown facet type:android and android-gradle

When I open android studio I am getting an error- "Error loading project: Cannot load 2 facets. When I clicked to see the error the following appeared
"2 facets cannot be loaded. You can mark them them as ignored to suppress this error notification.
Unknown facet type:'android', Unknown facet type:'android-gradle'
I tried to add facets ( In Project Structure > Project settings > Modules > clicked project name, then clicked Android as well as Android-Gradle) But both showed as "cannot load facet, unknown facet type." Under Project settings > Facets > both Android and Android-Gradle are displayed as 'Invalid facets'.
My project was running smoothly. This problem occured when I force-closed my laptop before exiting android studio as everything got stuck. After that whenever I open the android studio this problem occurs. I am not able to run my project. Can anyone please help me to solve this?
Just enable Android Support plugin.
Click Ctrl+Alt+S in Windows or Meta+Comma in Mac.
In top search bar type "plugin".
On right side it will show a list of plugins, find Android Support plugin, check it and click OK at the bottom of screen.
This is how it looks:
In Android Studio go to
File -> Settings - > Plugins -> Enable "Android Support" Plugin.
File, Then Settings->Plugin->Enable/Renable Plugin --> Apply --> Restart
This problem occured when i'd updated Android Studio.
In case nothing from other answers works, you don't have another option, except removing broken settings and making clean setup.
So what i am suggesting:
Use Settings Repository Feature to store personal IDE settings
close studio
remove .AndroidStudioX folder from user folder
re-launch studio, do not copy settings from previous version (because settings probably broken and auto-import couldn't import it well)
import personal settings from Settings Repository
For me I went to Settings -> Plugins and de-selected Gradle then immediately re-selected it. Android Studio then asked if I wanted to enable Groovy so I said yes and let it restart and now everything is happy again! (it was checked, but clearly somewhere deep down not truly enabled, so toggling the check-box sorted it)
Not sure if my cause was installing Flutter, but I did have to disable the Flutter plugin before I could build again.
I had the same problem with an ever-increasing number of facets - first 2, then 4, then 5 - and none of the above solutions worked. My solution (Android Studio 3.3, OS X) was to delete ~/Library/Preferences/AndroidStudio3.3/disabled_plugins.txt, which contained org.jetbrains.android and org.jetbrains.maven
I imagine if you have deliberately disabled plugins then you'll have to disable them again manually, but I was able to load all facets again.
Go To ->File->Settings->Plugins->disable/enable Android Support Plugins->Press Ok
Just re-enable Android Support plugin. Then it will ask to restart.
Restart them thats it
I faced this issue in Android Studio 3.2.1 I had to re-import my project after that it works.
I was facing this problem, I tried everything but nothing worked but then I remembered that I updated Android Studio just few hours back and then I enabled the plugins in the Android Studio and restarted it and it worked.
File -> Settings -> Plugin and then just press ok. It will ask to restart the android studio and please restart it.
For me I had to uncheck the plugin Android APK Support. I clicked Apply and then Ok to close the window. Android Studio prompted me to restart the program, and the program restarted. I checked the Android APK Support plugin again and restarted the program. And then I selected File -> Sync Project with Gradle Files
Then it worked just fine.

Resources