Shortcut for copying Ctrl-C not working in Android Studio

左心房为你撑大大i 提交于 2019-12-04 07:56:39

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.

I used Invalidate Caches/Restart option and worked for me. you could try that.

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

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

tejraj

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.

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!