Reputation: 87
About 2 months ago I was able to copy text from my pc clipboard and paste it into an app running on Android Studio emulator simply doing ctrl+c on pc and pasting it into a TextView. Now I'm using the new version Android Studio 3.0 and I can't do that. When I copy text from my pc the emulator ignore it: the clipboard of my pc and the one of the emulator don't communicate. Maybe with the new update I have to change something in the settings of the emulator but I have found nothing about it (except for the option "Enable clipboard sharing" that is allowed).
Upvotes: 4
Views: 6694
Reputation: 22212
The solution that always works for me is to Restart Android directly from the emulator or the other option is from the Device Manager in Android Studio with the option "Cold boot now".
Upvotes: 3
Reputation: 681
@AlfaSpider answer is correct , after enabling the setting still issue exist , please do wipe data option from Device Manager window
Upvotes: 2
Reputation: 393
This is a bug, as of Android Studio 3. Here is a quick-fix.
Tested with: Android Studio 3.0.1, AVD API Version 26
Upvotes: 2
Reputation: 146
I confirm issue. There is a bug report about this on issuetracker. I confirm solution of toggling switch "Enable clipboard sharing" in emulator -> three dots -> settings. If you disable and re-enable switch, clipboard sharing works again.
Upvotes: 3