whizlaha.blogg.se

Android studio adb refused a command
Android studio adb refused a command





Root cause: : Connection refused: connect 18:49:22.475 ERROR c.k.k. - ❌ Cannot swipe on device.

android studio adb refused a command

)Īfter executing that cmd command, Error occurs. ( I think executing a “adb ~~” cmd command makes problem at connection. So after start Application(%%my app%%), I execute cmd command that runs (%%). I am trying to execute a certain app(%%) that already installed at test device. Mobile.tap(findTestObject('1 - (3)'), 10) // tap Button Int endY = GlobalVariable.G_device_Height * 0.01 Int startY = GlobalVariable.G_device_Height * 0.99 Int startX = GlobalVariable.G_device_Width / 2 String cmd = "adb shell monkey -p -c 1" GlobalVariable.G_device_Width = Mobile.getDeviceWidth() GlobalVariable.G_device_Height = Mobile.getDeviceHeight() MobileDriverFactory.getDriver().resetApp() // app data clear

android studio adb refused a command

Below is my script Mobile.startApplication('F:\\%%my app%%.apk', false)







Android studio adb refused a command