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?
If restarting AS does not resolve the issue you could try Invalidate Caches/Restart option. That sometimes fixes such issues.
----update----
This might fix your issue.
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
Try to uncheck the Vim Emulator in Tools may solve ur problem!
I used Invalidate Caches/Restart option and worked for me. you could try that.
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.
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.
Go to Settings -> Keymap -> And then select Eclipse for Keymaps dropdown view. Generally it is set to MAC OS 10 by default
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.
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
For those migrating from MacOS to Windows, here is an easy fix:
Go to "Settings"
Press on "Keymap" section
Change from "macOS" to "Windows"
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
.
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.
copy your text and paste into android studio empty line and copy again , from android studio and paste into emulator , its work !!!
© 2022 - 2024 — McMap. All rights reserved.