Prior to this, Appium has been installed, refer to the first section
Build Appium in Windows7 (i.)
https://testerhome.com/topics/8004 first step to install Android development environment
Download install Android JDK and ADT
Third party: http://androiddevtools.cn/index.html
Baidu Cloud: http://pan.baidu.com/s/1mhLC4E8 Password: e22j
I'm using it.
adt-bundle-windows-x86_64-20140702
jdk1.7.0_79
- adt-bundle-windows-x86_64-20140702 is compressed file, directly extracted to D:\Program FILES\ANDROID\ADT-BUNDLE-WINDOWS-X86\SDK
-
jdk1.7.0_79 is exe file, click Install directly, I was installed to C:\Program files\java\jdk1.7.0_79
Step: My computer right into the Advanced system settings, click on the environment variable configuration (I said here is relatively simple, will not be Baidu)
-
Verifying that the installation configuration was successful
Second step night God simulator Download and install
I downloaded the nox_setup_v3.7.6.1_full.
The third step is to view the connected devices via ADB and enter the ADB devices query in the CMD terminal.
1, if the simulator has been started, please close first, and then enter the ADB devices
2, found in the Night God Simulator installation directory Nox_adb.exe
Enter in cmd, enter the installation directory
CD D:\Program Files (x86) \nox\bin
Nox_adb.exe Connect 127.0.0.1:62001
3. Restart the simulator and enter the ADB devices
-
Problem: The current version of ADB running on the server side (that is, the ADB version of the Night God Simulator) is lower than the client version (that is, the ADB version in the SDK directory)
-
Verify the problem description: (You need to configure the environment variables before verifying that the ADB directory under the SDK (D:\Program files\android\adt-bundle-windows-x86\sdk\platform-tools), And the night God Simulator's adb directory (D:\Program Files (x86) \nox\bin) added to the system's environment variable path)
Workaround:
A, turn off the night God Simulator. At the same time go to the task Manager to see, Adb.exe and Nox_adb.exe these 2 processes are not running? Some words will end.
b, find the directory of the SDK and the night God Simulator directory, the SDK directory under the Adb.exe file, copied to the Night God Simulator directory, because the night God Simulator directory under the original ADB file name is called Nox_adb.exe, so the copy has been renamed to Nox_adb.exe after the past.
Restart the simulator, then connect to the second step
So the link is successful!
Appium Appium link Night God Simulator