Reputation: 710
I am able to copy text from other programs and paste it to Android Studio. I am able to right click and copy selected text. I am able to cut text and paste it using shortcut. But while using shortcut Ctrl + C to copy text I am often unable to copy. This is very annoying problem. Does anyone here knows how to solve it?
Upvotes: 14
Views: 23661
Reputation: 31
copy your text and paste into android studio empty line and copy again , from android studio and paste into emulator , its work !!!
Upvotes: 0
Reputation: 703
Open: File>setting>Plugins. In the installed plugins section uncheck IdeaVim plugin
Upvotes: 0
Reputation: 39
If you are facing issue on on MacOS and you want to use Eclipse shortcuts, then try changing like below,
Android Studio -> Preferences -> search for 'keymap' -> from drop down choose 'Eclipse (macOS)' option
I was not able to copy text from Android Studio using command+c and above configuration change fixed it.
Upvotes: 0
Reputation: 1069
In my case, the Ctrl c
is occupied by other programs(mine is "Oulu Dictionary" program).
Try to check if other programs have a global shortcut key for Ctrl c
.
Upvotes: 0
Reputation: 61
For those migrating from MacOS to Windows, here is an easy fix:
Go to "Settings"
Press on "Keymap" section
Change from "macOS" to "Windows"
Upvotes: 0
Reputation: 1
I was setting up Android Studio based off my MAC settings. I found out that I had to change the Keymaps from MAC OSX to Default (Windows) Android Studio Keyboard shortcut control
Upvotes: 0
Reputation: 309
Updating the Android Studio and Invalidate Caches/Restart option doesn't worked for me. But Paste Simple or Ctrl + Alt + Shift + V will works when you are trying to paste something from outside. Try using Copy Reference or Ctrl + Alt + Shift + C and Paste or Ctrl + V. It works for me.
Upvotes: 2
Reputation: 108
Invalidating cache / restart didn't work for me. Reinstalling didn't work. Clearing the ~/.android
directory didn't work. No answer I found worked.
What seemed to clear up the situation was disabling the "Android Support" plugin. Suddenly, cutting and pasting works again. But then all sorts of debugging features are missing. So that's not a real solution.
This is the real solution that worked for me. There's some sort of bug upgrading to Studio 3.0 that created an extra .xml
file under the menu
folder in res
. Removing this file fixed everything.
Upvotes: 0
Reputation: 59
Go to Settings -> Keymap -> And then select Eclipse for Keymaps dropdown view. Generally it is set to MAC OS 10 by default
Upvotes: 1
Reputation: 189
Easiest Solution - Reset copy paste in Android Studio by clicking on an empty line and press Ctrl-C to copy nothing (crazy I know but it works). Then recopy your source and paste with Ctrl-V
Upvotes: 18
Reputation: 334
Seem to work for me if I: goto Settings > Editor > General > under Limits change "Maximum number of contents to keep in clipboard" to 1.
Then copy something from within the Android Studio editor, and then the copy and paste from outside started to work for me.
Upvotes: 1
Reputation: 1662
I used Invalidate Caches/Restart option and worked for me. you could try that.
Upvotes: 3