ADB connect to device with Python 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 &quot;Allow USB debugging ...&quot; on the device. Is there a way to go around this pop up?
This popup is there for security reasons and can't be bypassed without system manipulation (root required).
Without that dialog an Android device would be once the user activated ADB wide open to anyone who connects to the device via USB. Therefore since Android 4.2 if I remember correctly Google added the RSA based authentication on ADB level to avoid unauthorized data access via ADB.