Posts

Showing posts from April, 2015

An error occurred while resigning the app 'selendroid-test-app-0.15.0.apk'

Image
An error occurred while resigning the app 'selendroid-test-app-0.15.0.apk'


If you got the same error message while trying to start the Selendoid server with your apk file, try the below to fix it :

Solution : 

Check JAVA_HOME is set properlySet System variable with name "JAVA_HOME"  with value set to Java jdk like "C:\Program Files\Java\jdk1.8.0_40\"Check ANDROID_HOME is set properlySet System variable with name "ANDROID_HOME"  with value set to Android Sdk like "C:\Users\lalit\AppData\Local\Android\sdk\"

Still after setting the above variables correctly, if you see any error try to sign your app manually using below command
C:\Program Files\Java\jdk1.8.0_40\bin> jarsigner.exe -sigalg MD5withRSA -digestalg SHA1 -signedjar < apk file path >  -storepass android -keystore <keystore location> < apk file path >  androiddebugkey
Example:
C:\Program Files\Java\jdk1.8.0_40\bin > jarsigner.exe -sigalg MD5withRSA -digestalg SH…