Appium+python Automation 45-nox Problem Solving

Source: Internet
Author: User
Tags appium

Objective

Recently, the latest version of the Night God Simulator, and then ADB devices found not connected to the simulator, the ADB server version doesn ' t match this client (39); Killing ...
From the error message to see is the ADB version mismatch caused, next talk about how to solve the problem

Environment:
Night God simulator 6.0.9.0
System ADB version number 1.0.39

Encounter problems

1. Download the night God simulator from official website "", I downloaded the version is V6.0.9.0, after the Fool-type next installation, ADB devices even mobile phone

ADB devices

C:\Users\admin>adb devicesList of devices attachedadb server version (36) doesn‘t match this client (39); killing...* daemon started successfully

2. "ADB server version doesn ' t match this client (39)" means that the current night God simulator's adb version is 36,ANDROID-SDK inside the ADB version is 39, mismatch caused.

Workaround, copy the ADB (39) version inside the ANDROID-SDK and replace the NOX_ADB (36) version on the NOx simulator.

View ADB version number

1. View the ADB version number of the current ANDROID-SDK, cmd open input adb, "Android Debug Bridge version 1.0.39" shows that the current ADB version is 1.0.39, which is referred to as version 39

adb

2. Check the ADB version number of the Night God Simulator (NOx) to find the installation path: \nox\bin, there is a nox_adb.exe, in fact, is adb.exe, in order to avoid conflict in the NOx change a name. Enter CMD in the upper-left corner of the address bar

3. Then in the CMD reference input nox_adb, you can see the NOx inside the ADB version number 1.0.36, which is the 36 version

D:\soft\nox\Nox\bin>nox_adbAndroid Debug Bridge version 1.0.36Revision 0e9850346394-android

Replace ADB version

1. Find the version number is not the same reason, then the android-sdk inside the Adb.exe version copied out, and then changed the name called Nox_adb.exe, replace the path of Nox installation: \nox\bin under the Nox_adb.exe file on the line

2. Next turn off the night God Simulator, restart the simulator, and enter the ADB devices in CMD.

C:\Users\admin>adb devicesList of devices attached127.0.0.1:62001 device

Appium+python Automation 45-nox not connected to the problem resolution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.