java.lang.RuntimeException: io.selendroid.exceptions.ShellCommandException: An error occured while executing shell command: /usr/lib/jvm/java-7-openjdk- amd64/bin/bin/keytool -genkey -v -keystore /home/luckyluke/.android/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname CN=Android Debug,O=Android,C=US -storetype JKS -sigalg MD5withRSA -keyalg RSA -validity 9999

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Erando89, 1 year ago
io.selendroid.exceptions.ShellCommandException: An error occured while executing shell command: /usr/lib/jvm/java-7-openjdk- amd64/bin/bin/keytool -genkey -v -keystore /home/luckyluke/.android/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname CN=Android Debug,O=Android,C=US -storetype JKS -sigalg MD5withRSA -keyalg RSA -validity 9999
via Google Groups by Koushik Arvapally, 2 years ago
io.selendroid.exceptions.ShellCommandException: An e rror occured while executing shell command: C:\Program Files\Java\jre8\bin\jarsi gner.exe -sigalg MD5withRSA -digestalg SHA1 -signedjar C:\Users\anktech\AppData\ Local\Temp\resigned-android
via Google Groups by Narasimha Rao, 2 years ago
io.selendroid.exceptions.ShellCommandException: An e rror occured while executing shell command: C:\Program Files\Java\jre7\bin\jarsi gner.exe -sigalg MD5withRSA -digestalg SHA1 -signedjar C:\Users\dullar\AppData\L ocal\Temp\resigned-android
via Google Groups by Hari, 2 years ago
io.selendroid.exceptions.ShellCommandException: An e rror occured while executing shell command: C:\Program Files\Java\jre8\bin\jarsi gner.exe -sigalg MD5withRSA -digestalg SHA1 -signedjar C:\Users\khari\AppData\Lo cal\Temp\resigned-android
via Google Groups by ANKIT AGARWAL, 2 years ago
io.selendroid.exceptions.ShellCommandException: An error occured while executing shell comm nd: C:\Program Files\Java\jdk1.7.0\bin\jarsigner.exe -sigalg MD5withRSA -digestalg SHA1 -signedjar C:\Users\ANKIT~1.AGA AppData\Local\Temp\resigned-android
via GitHub by krishnamvb
, 2 years ago
io.selendroid.exceptions.SelendroidException: Command 'aapt' was not found inside the Android SDK. Please update to the latest development tools and try again.
java.lang.RuntimeException: io.selendroid.exceptions.ShellCommandException: An error occured while executing shell command: /usr/lib/jvm/java-7-openjdk- amd64/bin/bin/keytool -genkey -v -keystore /home/luckyluke/.android/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname CN=Android Debug,O=Android,C=US -storetype JKS -sigalg MD5withRSA -keyalg RSA -validity 9999
at io.selendroid.io.ShellCommand.exec(ShellCommand.java:49)
at io.selendroid.builder.SelendroidServerBuilder.signTestServer(SelendroidServerBuilder.java:275)
at io.selendroid.builder.SelendroidServerBuilder.resignApp(SelendroidServerBuilder.java:153)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.