0

I have setup eclipse, sdk, path, configuration selendroid -standaloe-0.17.0-with-dependencies.jar file and selenium server.jar file but with command prompt want to run server with this command java -jar selendroid-standalone-0.17.0-with-dependencies.jar -aut testapp.apk but in command prompt it displayed error like unable to accessenter image description here jar file.."

Yu Zhang
9,9625 gold badges29 silver badges48 bronze badges
asked Sep 7, 2016 at 12:55

3 Answers 3

0

This could be due to folder permission issues or jar file getting corrupt. Could you please move the jar file to a different folder and try running again or download the jar again.

Also, you may refer the following post for more troubleshooting options:

https://stackoverflow.com/questions/11943948/error-unable-to-access-jar-file

answered Oct 20, 2016 at 16:45
0

Try to:

  • right click on "selendroid-standalone-0.17.0-with-dependencies.jar" file in Windows Explorer, then open "Properties" and click on "Unblock" button in the bottom, then try again;
  • or if it will not help, try to execute java -jar "./selendroid-standalone-0.17.0-with-dependencies.jar" -aut testapp.apk
answered Nov 7, 2016 at 5:32
0
  1. double click on the "selenium*.jar" and Java jar file.
  2. Go to the command prompt and write the full path of your directory where the above jar file exist. for example, C:>CD enter
  3. write below command and then press enter key. your selenim server will be automatically started. java -jar selenium*.jar

Good Luck

Narendra Chandratre
2,8347 gold badges31 silver badges60 bronze badges
answered Nov 7, 2016 at 7:02

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.