Help Center> Cloud Phone Host> FAQs> ADB Connection Faults> What Can I Do If an ADB Connection Error Occurs?
Updated on 2023-03-16 GMT+08:00

What Can I Do If an ADB Connection Error Occurs?

CPH ADB integrates the SSH tunnel service. A normal SSH tunnel is required for successful connections to cloud phones. You can run the adb kill-server and adb start-server commands to restart ADB and the SSH tunnel. In addition, check whether paths of ADB of other versions exist in the system environment variable PATH. If yes, remove ADB of other versions.

Other common configuration errors are as follows:

  • Error: Error file config.json doesn't exist, should in the same path as adb.

    The config.json file and ADB installation package must be under the same directory.

  • Error: Error key pair file C:\Users\Administrator\Desktop\adb\keypair.pem doesn't exist in config.json.

    The key file does not exist. Check whether the key file path is correct.

  • Error: Error invalid character 'U' in string escape code in config.json.

    The key file path is invalid. Use \\ for a Windows path, for example, C:\\Users\\Administrator\\Desktop\\adb\\keypair.pem.

  • Error: Error access key id is empty in config.json.

    If the AK is not provided, obtain it by referring to Obtaining an AK/SK.

  • Error: Error access secret key is empty in config.json.

    If the SK is not provided, obtain it by referring to Obtaining an AK/SK.

ADB Connection Faults FAQs

more