Appium encounters pitfalls

Source: Internet
Author: User
Tags appium

Appium encounters pitfalls

Last week, I started to try to use appium. First, I went to the official website and downloaded the appium client. After downloading and installing the app, I started to install the android sdk. After downloading the app on the official website, I downloaded the app, download updatesSDK ManagerThe download fails, and the FQ does not work. After reading the method, I tried to do it. However, I still couldn't do it in the way of the wormhole. Later, I tried to search in the 360 software manager. Fortunately, I found it in the 360 software manager, downloaded it, installed it, and clicked it to update it normally. I don't know why, it may be that 360 inject other things into the software, which is unknown. In any case, our purpose is the same.

Then, when I created the android simulator, various errors were reported and failed to run. Later, I saw in a forum that it was due to the problem of the latest video card driver and can be started normally after I uninstalled it.

After editing the python script, run it and report that the service cannot be started. The Internet says that 5037 is occupied. I tried to find the pid but did not find it. Then I ran the script normally and reported an error.

Error: Failed to start an Appium session, err was: Error: Command failed: C: \ Windows \ system32 \ cmd.exe/s/c "E: \ anzhuo \ platform-tools \ adb.exe-s emulator-5554 push "C :\\ Program Files \ Appium \ node_modules \ appium \ build \ android_bootstrap \ AppiumBootstrap. jar "/data/local/tmp /"
>
> Info: [debug] Error: Command failed: C: \ Windows \ system32 \ cmd.exe/s/c "E: \ anzhuo \ platform-tools \ adb.exe-s emulator-5554 push "C :\\ Program Files \ Appium \ node_modules \ appium \ build \ android_bootstrap \ AppiumBootstrap. jar "/data/local/tmp /"
>
> At ChildProcess. exithandler (child_process.js: 751: 12)
> At ChildProcess. emit (events. js: 110: 17)
> At maybeClose (child_process.js: 1016: 16)
> At Process. ChildProcess. _handle. onexit (child_process.js: 1088: 5)
> Info: [debug] Responding to client with error: {"status": 33, "value": {"message": "A new session cocould not be created. (Original error: Command failed: C: \ Windows \ system32 \ cmd.exe/s/c \ "E: \ anzhuo \ platform-tools \ adb.exe-s emulator-5554 push \ "C: \\\ Program Files \\\\ Appium \\\ node_modules \\\\ appium \\\\ build \\\ android_bootstrap \\\ AppiumBootstrap. jar \ "/data/local/tmp/\" \ n) "," killed ": false," code ": 1," signal ": null," cmd ": "C: \ Windows \ system32 \ cmd.exe/s/c \" E: \ anzhuo \ platform-tools \ adb.exe-s emulator-5554 push \ "C: \\\ Program Files \\\\ Appium \\\ node_modules \\\\ appium \\\\ build \\\ android_bootstrap \\\ AppiumBootstrap. jar \ "/data/local/tmp/\" "," origValue ":" Command failed: C: \ Windows \ system32 \ cmd.exe/s/c \ "E :\\ anzhuo \ platform-tools \ adb.exe-s emulator-5554 push \" C: \\\ Program Files \\\\ Appium \\\ node_modules \\\\ appium \\\\ build \\\ android_bootstrap \\\ AppiumBootstrap. jar \ "/data/local/tmp/\" \ n "}," sessionId ": null}
> Info: <-- POST/wd/hub/session 500 11653.286 MS-889

To solve this problem, go to TesterHome to read an article and run it.

In my opinion, time is the only criterion for truth testing.

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.