adb shell input text with space not working adb shell input text 'Hindustan%sTrading%sCompany'


Gives Company in Gboard

adb shell input text 'Hindustan%s'


Just gives a space

adb shell input text '%sHindustan' is working fine.

so word before %s is missing

Android Debug Bridge version 1.0.40
Version 28.0.2-5303910
Try separating the input lines like this:

adb shell input text 'Hindustan'
adb shell input text '%s'
adb shell input text 'Trading'
adb shell input text '%s'
adb shell input text 'Company'