Problem running Appium Scripts on Android
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.3k
- Forks
- 752
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 8
Description
The problem
I get following error in Eclipse while running Appium scripts for Android:
java.lang.NoSuchMethodError: org.openqa.selenium.remote.http.HttpClient$Factory.createDefault()Lorg/openqa/selenium/remote/http/HttpClient$Factory;
the code for the line where error occurs looks like this:
driver = new AndroidDriver(new URL(“http://0.0.0.0:4723/wd/hub”), cap);
I tried different jar versions for the libraries but with no success.
Can someone please help me out in this
Thanks,
Prashant
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the AndroidDriver construction in the issue and reproduce the NoSuchMethodError in Eclipse. Inspect the Selenium and Appium JAR versions used by the project and compare their HttpClient.Factory APIs. Done means the sample Android script starts without this linkage error using a compatible dependency set.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100