I am using the emulator that comes with Android Studio and need to past text between my OSX Yosemite machine and an app in the emulator.
I started my emulator with emulator -avd Nexus_6_API_23
I tried long click Command-V it does not paste
I see How can I copy/pate multibyte characters on Android Emulator? and a few others like Paste text on Android Emulator but they seem related to adb
and not the new emulator
.
Any ideas pls?
Just copy from wherever, click and hold on the emulator phone's edit text where you want the text to go (kind of like you would press and hold to paste on an actual phone), the PASTE option will appear, then PASTE.
If we copy text (after long tap) from the EditText , it will appear in the Clipboard, but only inside Nox emulator. We can use the text in Chrome browser, for instance. Command + C doesn't work, while Command + V works (pastes text).
Follow these steps for write copied text:
Open Terminal
Write command: adb devices
(it will list the device currently connected)
Select Textbox where you want to write text
Write command: adb shell input text 'Yourtext'
(make sure only one device is connected to run this command and that you can also use Single Quotes)
Done!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With