I downloaded the jar and tried to launch the selendroid server with the command:
java -jar selendroid-standalone-0.8.0-with-dependencies.jar -app selendroid-test-app-0.8.0.apk
But it seems to be giving me this error:
SEVERE: Error occurred while building server: An error occurred while resigning the app 'selendroid-test-app-0.8.0.apk'
Can anyone help me with this?
I did some research and found a list of things required to make selendroid work on Windows:
Java JDK (minimum 1.6) must be installed and JAVA_HOME configured to point to that JDK
(tools like the jarsigner should be present in the JDK.)
The Android SDK maynot have all the required tools and you must download specific tools through the android SDK manager:
ANDROID_HOME variable should point to the SDK:
set ANDROID_HOME=C:\${installation location}\SDK
set PATH=%PATH%;%ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools
(This is only for Windows. For other OS you can check this link: http://spring.io/guides/gs/android/)