Paste text on Android Emulator

后端 未结 20 1491
臣服心动
臣服心动 2020-12-07 07:10

Is there an easy way to copy/paste (desktop\'s) clipboard content to EditView on Android Emulator?

(just for the sake to ease development/test)

20条回答
  •  日久生厌
    2020-12-07 07:24

    On Linux this will paste text directly from the clipboard

    adb shell input text "'$(xclip -selection c -o)'"
    

    Also it very useful to create global keyboard shortkey with this command for example Ctrl+Shift+Super+V

提交回复
热议问题