![]() You will need to re-run the set debug each time (or use -persistent option). You will get a popup that the app is waiting for a debug to attach. ![]() Run adb shell am set-debug-app -w .samples.masterdetail. Set the app to debug at startup (note the -w) Debug with ADB commandsįollow these steps to debug using ADB commands: You can also simulate app spanning and other gestures as part of UI Testing. The time is important because if you drag too fast, the app is “flung” to the other screen rather than spanned. The first four values are the start and end coordinates of the drag gesture, and the final value is elapsed time (milliseconds). You can simulate this gesture with ADB, using the following command: adb shell input touchscreen swipe 675 1780 1350 1500 3000 These screenshots illustrate the process of spanning by grabbing the handle at the bottom of the window, and dragging it towards the hinge until the span indicator covers both screens:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2023
Categories |