Hi all, when I use chromedrivier with Appium to run Chrome on a real phone, I always encounter problems with adb. Parts of chromedriver log output in Appium are in the following figure:
The problem exists in the last adb commend line. Everytime chromedriver runs this line, the timeout error occurs. However, when I try the command line (adb shell am start -W -n com.android.chrome/com.google.android.apps.chrome.Main -d data:) manually, it runs well without timeout.
Testing codes are in the following figure:
I’ve already spent lot of time searching for solutions, but still had no clue yet. Can anybody help me with that?