{"action":"closed","issue":{"url":"https://api.github.com/repos/selendroid/selendroid/issues/781","labels_url":"https://api.github.com/repos/selendroid/selendroid/issues/781/labels{/name}","comments_url":"https://api.github.com/repos/selendroid/selendroid/issues/781/comments","events_url":"https://api.github.com/repos/selendroid/selendroid/issues/781/events","html_url":"https://github.com/selendroid/selendroid/issues/781","id":54153850,"number":781,"title":"Not able to start Selendorid Server","user":{"login":"Sujith28","id":8494484,"avatar_url":"https://avatars.githubusercontent.com/u/8494484?v=3","gravatar_id":"","url":"https://api.github.com/users/Sujith28","html_url":"https://github.com/Sujith28","followers_url":"https://api.github.com/users/Sujith28/followers","following_url":"https://api.github.com/users/Sujith28/following{/other_user}","gists_url":"https://api.github.com/users/Sujith28/gists{/gist_id}","starred_url":"https://api.github.com/users/Sujith28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sujith28/subscriptions","organizations_url":"https://api.github.com/users/Sujith28/orgs","repos_url":"https://api.github.com/users/Sujith28/repos","events_url":"https://api.github.com/users/Sujith28/events{/privacy}","received_events_url":"https://api.github.com/users/Sujith28/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-13T05:57:10Z","updated_at":"2015-01-19T11:28:02Z","closed_at":"2015-01-19T11:28:02Z","body":"I'm working on windows 7 64 bit machine. \r\nJAVA_HOME = C:\\Program Files\\Java\\jdk1.8.0_25 and ANDROID_HOME = C:\\adt-64bit\\sdk, please help me to resolve this issue.\r\n\r\nC:\\Sujith>java -jar selendroid-standalone-0.12.0-with-dependencies.jar -app selendroid-test-app-0.12.0.apk\r\n################# Selendroid #################\r\n################# Configuration in use #################\r\nio.selendroid.SelendroidConfiguration@2f2c9b19[\r\n  port=4444\r\n  timeoutEmulatorStart=300000\r\n  supportedApps=[selendroid-test-app-0.12.0.apk]\r\n  verbose=false\r\n  emulatorPort=5560\r\n  deviceScreenshot=false\r\n  selendroidServerPort=8080\r\n  keystore=<null>\r\n  keystorePassword=<null>\r\n  keystoreAlias=<null>\r\n  emulatorOptions=<null>\r\n  registrationUrl=<null>\r\n  proxy=<null>\r\n  serverHost=<null>\r\n  keepAdbAlive=false\r\n  noWebViewApp=false\r\n  noClearData=false\r\n  sessionTimeoutSeconds=1800\r\n  forceReinstall=false\r\n  logLevel=ERROR\r\n  deviceLog=true\r\n  serverStartTimeout=20000\r\n  printHelp=false\r\n]\r\nJan 13, 2015 11:00:53 AM io.selendroid.SelendroidLauncher launchServer\r\nINFO: Starting selendroid-server port 4444\r\nJan 13, 2015 11:00:53 AM io.selendroid.io.ShellCommand exec\r\nINFO: executing command: C:\\adt-64bit\\sdk\\build-tools\\android-4.4.2\\aapt.exe remove C:\\Sujith\\selendroid-test-app-0.12.0.apk META-INF/MANIFEST.MF\r\nJan 13, 2015 11:00:53 AM io.selendroid.io.ShellCommand exec\r\nINFO: executing command: C:\\adt-64bit\\sdk\\build-tools\\android-4.4.2\\aapt.exe remove C:\\Sujith\\selendroid-test-app-0.12.0.apk META-INF/CERT.RSA\r\nJan 13, 2015 11:00:54 AM io.selendroid.io.ShellCommand exec\r\nINFO: executing command: C:\\adt-64bit\\sdk\\build-tools\\android-4.4.2\\aapt.exe remove C:\\Sujith\\selendroid-test-app-0.12.0.apk META-INF/CERT.SF\r\nJan 13, 2015 11:00:54 AM io.selendroid.io.ShellCommand exec\r\nINFO: executing command: C:\\adt-64bit\\sdk\\build-tools\\android-4.4.2\\aapt.exe remove C:\\Sujith\\selendroid-test-app-0.12.0.apk META-INF/ANDROIDD.SF\r\nJan 13, 2015 11:00:54 AM io.selendroid.io.ShellCommand exec\r\nINFO: executing command: C:\\adt-64bit\\sdk\\build-tools\\android-4.4.2\\aapt.exe remove C:\\Sujith\\selendroid-test-app-0.12.0.apk META-INF/ANDROIDD.RSA\r\nJan 13, 2015 11:00:54 AM io.selendroid.io.ShellCommand exec\r\nINFO: executing command: C:\\adt-64bit\\sdk\\build-tools\\android-4.4.2\\aapt.exe remove C:\\Sujith\\selendroid-test-app-0.12.0.apk META-INF/NDKEYSTO.SF\r\nJan 13, 2015 11:00:54 AM io.selendroid.io.ShellCommand exec\r\nINFO: executing command: C:\\adt-64bit\\sdk\\build-tools\\android-4.4.2\\aapt.exe remove C:\\Sujith\\selendroid-test-app-0.12.0.apk META-INF/NDKEYSTO.RSA\r\nJan 13, 2015 11:00:54 AM io.selendroid.io.ShellCommand exec\r\nINFO: executing command: C:\\Program Files\\Java\\jdk1.8.0_25\\bin\\jarsigner.exe -sigalg MD5withRSA -digestalg SHA1 -signedjar C:\\Sujith\\resigned-selendro\r\nid-test-app-0.12.0.apk -storepass android -keystore C:\\Users\\Sujith.p\\.android\\debug.keystore C:\\Sujith\\selendroid-test-app-0.12.0.apk androiddebugkey\r\n\r\nJan 13, 2015 11:00:55 AM io.selendroid.builder.SelendroidServerBuilder signTestServer\r\nINFO: App signing output: jar signed.\r\n\r\nWarning:\r\nNo -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer cert\r\nificate's expiration date (2044-03-19) or after any future revocation date.\r\n\r\nJan 13, 2015 11:00:55 AM io.selendroid.builder.SelendroidServerBuilder signTestServer\r\nINFO: The app has been signed: C:\\Sujith\\resigned-selendroid-test-app-0.12.0.apk\r\nJan 13, 2015 11:00:55 AM io.selendroid.io.ShellCommand exec\r\nINFO: executing command: C:\\adt-64bit\\sdk\\build-tools\\android-4.4.2\\aapt.exe dump badging C:\\Sujith\\resigned-selendroid-test-app-0.12.0.apk\r\nJan 13, 2015 11:00:55 AM io.selendroid.io.ShellCommand exec\r\nINFO: executing command: C:\\adt-64bit\\sdk\\build-tools\\android-4.4.2\\aapt.exe dump badging C:\\Sujith\\resigned-selendroid-test-app-0.12.0.apk\r\nJan 13, 2015 11:00:55 AM io.selendroid.server.model.SelendroidStandaloneDriver initApplicationsUnderTest\r\nINFO: App io.selendroid.testapp:0.12.0 has been added to selendroid standalone server.\r\nJan 13, 2015 11:00:55 AM io.selendroid.io.ShellCommand exec\r\nINFO: executing command: C:\\adt-64bit\\sdk\\build-tools\\android-4.4.2\\aapt.exe remove C:\\Windows\\TEMP\\android-driver8196165181920971711.apk META-INF/MAN\r\nIFEST.MF\r\nJan 13, 2015 11:00:55 AM io.selendroid.io.ShellCommand exec\r\nINFO: executing command: C:\\adt-64bit\\sdk\\build-tools\\android-4.4.2\\aapt.exe remove C:\\Windows\\TEMP\\android-driver8196165181920971711.apk META-INF/CER\r\nT.RSA\r\nJan 13, 2015 11:00:55 AM io.selendroid.io.ShellCommand exec\r\nINFO: executing command: C:\\adt-64bit\\sdk\\build-tools\\android-4.4.2\\aapt.exe remove C:\\Windows\\TEMP\\android-driver8196165181920971711.apk META-INF/CER\r\nT.SF\r\nJan 13, 2015 11:00:55 AM io.selendroid.io.ShellCommand exec\r\nINFO: executing command: C:\\adt-64bit\\sdk\\build-tools\\android-4.4.2\\aapt.exe remove C:\\Windows\\TEMP\\android-driver8196165181920971711.apk META-INF/AND\r\nROIDD.SF\r\nJan 13, 2015 11:00:55 AM io.selendroid.io.ShellCommand exec\r\nINFO: executing command: C:\\adt-64bit\\sdk\\build-tools\\android-4.4.2\\aapt.exe remove C:\\Windows\\TEMP\\android-driver8196165181920971711.apk META-INF/AND\r\nROIDD.RSA\r\nJan 13, 2015 11:00:55 AM io.selendroid.io.ShellCommand exec\r\nINFO: executing command: C:\\adt-64bit\\sdk\\build-tools\\android-4.4.2\\aapt.exe remove C:\\Windows\\TEMP\\android-driver8196165181920971711.apk META-INF/NDK\r\nEYSTO.SF\r\nJan 13, 2015 11:00:55 AM io.selendroid.io.ShellCommand exec\r\nINFO: executing command: C:\\adt-64bit\\sdk\\build-tools\\android-4.4.2\\aapt.exe remove C:\\Windows\\TEMP\\android-driver8196165181920971711.apk META-INF/NDK\r\nEYSTO.RSA\r\nJan 13, 2015 11:00:55 AM io.selendroid.io.ShellCommand exec\r\nINFO: executing command: C:\\Program Files\\Java\\jdk1.8.0_25\\bin\\jarsigner.exe -sigalg MD5withRSA -digestalg SHA1 -signedjar C:\\Windows\\TEMP\\resigned-an\r\ndroid-driver8196165181920971711.apk -storepass android -keystore C:\\Users\\Sujith.p\\.android\\debug.keystore C:\\Windows\\TEMP\\android-driver8196165181920\r\n971711.apk androiddebugkey\r\nJan 13, 2015 11:00:56 AM io.selendroid.builder.SelendroidServerBuilder signTestServer\r\nINFO: App signing output: jar signed.\r\n\r\nWarning:\r\nNo -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer cert\r\nificate's expiration date (2044-03-19) or after any future revocation date.\r\n\r\nJan 13, 2015 11:00:56 AM io.selendroid.builder.SelendroidServerBuilder signTestServer\r\nINFO: The app has been signed: C:\\Windows\\TEMP\\resigned-android-driver8196165181920971711.apk\r\nJan 13, 2015 11:00:56 AM io.selendroid.server.model.DeviceStore addDevice\r\nINFO: Adding: HardwareDevice [serial=ac7bd84, model=null, targetVersion=null]\r\nJan 13, 2015 11:00:56 AM io.selendroid.server.model.DeviceStore addDevice\r\nINFO: Adding: HardwareDevice [serial=ac7bd84, model=XP6700, targetVersion=ANDROID19]\r\nJan 13, 2015 11:00:56 AM io.selendroid.android.impl.DefaultDeviceManager initializeAdbConnection\r\nINFO: my devices: null\r\nJan 13, 2015 11:00:56 AM io.selendroid.io.ShellCommand exec\r\nINFO: executing command: C:\\adt-64bit\\sdk\\tools\\android.bat list avds\r\nJan 13, 2015 11:00:56 AM io.selendroid.SelendroidLauncher launchServer\r\nSEVERE: Error occurred while building server: io.selendroid.exceptions.ShellCommandException: An error occured while executing shell command: C:\\adt-6\r\n4bit\\sdk\\tools\\android.bat list avds\r\nio.selendroid.exceptions.AndroidDeviceException: io.selendroid.exceptions.ShellCommandException: An error occured while executing shell command: C:\\ad\r\nt-64bit\\sdk\\tools\\android.bat list avds\r\n        at io.selendroid.android.impl.DefaultAndroidEmulator.listAvailableAvds(DefaultAndroidEmulator.java:119)\r\n        at io.selendroid.server.model.DeviceStore.initAndroidDevices(DeviceStore.java:121)\r\n        at io.selendroid.server.model.SelendroidStandaloneDriver.initAndroidDevices(SelendroidStandaloneDriver.java:156)\r\n        at io.selendroid.server.model.SelendroidStandaloneDriver.<init>(SelendroidStandaloneDriver.java:85)\r\n        at io.selendroid.server.SelendroidStandaloneServer.initializeSelendroidServer(SelendroidStandaloneServer.java:61)\r\n        at io.selendroid.server.SelendroidStandaloneServer.<init>(SelendroidStandaloneServer.java:50)\r\n        at io.selendroid.SelendroidLauncher.launchServer(SelendroidLauncher.java:64)\r\n        at io.selendroid.SelendroidLauncher.main(SelendroidLauncher.java:112)\r\nCaused by: io.selendroid.exceptions.ShellCommandException: An error occured while executing shell command: C:\\adt-64bit\\sdk\\tools\\android.bat list avd\r\ns\r\n        at io.selendroid.io.ShellCommand.exec(ShellCommand.java:49)\r\n        at io.selendroid.android.impl.DefaultAndroidEmulator.listAvailableAvds(DefaultAndroidEmulator.java:117)\r\n        ... 7 more\r\nCaused by: io.selendroid.exceptions.ShellCommandException:\r\n        ... 9 more\r\nException in thread \"main\" java.lang.RuntimeException: io.selendroid.exceptions.AndroidDeviceException: io.selendroid.exceptions.ShellCommandException\r\n: An error occured while executing shell command: C:\\adt-64bit\\sdk\\tools\\android.bat list avds\r\n        at com.google.common.base.Throwables.propagate(Throwables.java:160)\r\n        at io.selendroid.SelendroidLauncher.launchServer(SelendroidLauncher.java:75)\r\n        at io.selendroid.SelendroidLauncher.main(SelendroidLauncher.java:112)\r\nCaused by: io.selendroid.exceptions.AndroidDeviceException: io.selendroid.exceptions.ShellCommandException: An error occured while executing shell com\r\nmand: C:\\adt-64bit\\sdk\\tools\\android.bat list avds\r\n        at io.selendroid.android.impl.DefaultAndroidEmulator.listAvailableAvds(DefaultAndroidEmulator.java:119)\r\n        at io.selendroid.server.model.DeviceStore.initAndroidDevices(DeviceStore.java:121)\r\n        at io.selendroid.server.model.SelendroidStandaloneDriver.initAndroidDevices(SelendroidStandaloneDriver.java:156)\r\n        at io.selendroid.server.model.SelendroidStandaloneDriver.<init>(SelendroidStandaloneDriver.java:85)\r\n        at io.selendroid.server.SelendroidStandaloneServer.initializeSelendroidServer(SelendroidStandaloneServer.java:61)\r\n        at io.selendroid.server.SelendroidStandaloneServer.<init>(SelendroidStandaloneServer.java:50)\r\n        at io.selendroid.SelendroidLauncher.launchServer(SelendroidLauncher.java:64)\r\n        ... 1 more\r\nCaused by: io.selendroid.exceptions.ShellCommandException: An error occured while executing shell command: C:\\adt-64bit\\sdk\\tools\\android.bat list avd\r\ns\r\n        at io.selendroid.io.ShellCommand.exec(ShellCommand.java:49)\r\n        at io.selendroid.android.impl.DefaultAndroidEmulator.listAvailableAvds(DefaultAndroidEmulator.java:117)\r\n        ... 7 more\r\nCaused by: io.selendroid.exceptions.ShellCommandException:\r\n        ... 9 more"}}