Can I connect to an Android device for the first time with python adb, in USB debug mode, without having to manually allow the connection?
This is my code from python adb library:
signer = sign_cryptography.CryptographySigner( op.expanduser('~/.android/adbkey')) # Connect to the device device = adb_commands.AdbCommands() device.ConnectDevice(port_path=None, serial=deviceIP, rsa_keys=[signer])
When I call this piece of code, it opens the pop up message with "Allow USB debugging ..." on the device. Is there a way to go around this pop up?