The server is running [Appium] Welcome to Appium v1.6.5
[Appium] Non-default server args:
[Appium] address: 127.0.0.1
[Appium] port: 4720
[Appium] Appium REST http interface listener started on 127.0.0.1:4720
[HTTP] --> POST /wd/hub/session
{“desiredCapabilities”:{“app”:“C:\Users\priya\workspace\MobileApp\src\ApiDemos-debug.apk”,“platformName”:“Android”,“deviceName”:“emulator-5554”},“requiredCapabilities”:{},“capabilities”:{“desiredCapabilities”:{“app”:“C:\Users\priya\workspace\MobileApp\src\ApiDemos-debug.apk”,“platformName”:“Android”,“deviceName”:“emulator-5554”},“requiredCapabilities”:{}},“alwaysMatch”:{“app”:“C:\Users\priya\workspace\MobileApp\src\ApiDemos-debug.apk”,“platformName”:“Android”,“deviceName”:“emulator-5554”},“firstMatch”:[]}
[MJSONWP] Calling AppiumDriver.createSession() with args:
[{“app”:“C:\Users\priya\workspace\MobileApp\src\ApiDemos-debug.apk”,“platformName”:“Android”,“deviceName”:“emulator-5554”},{},{“desiredCapabilities”:{“app”:“C:\Users\priya\workspace\MobileApp\src\ApiDemos-debug.apk”,“platformName”:“Android”,“deviceName”:“emulator-5554”},“requiredCapabilities”:{}}]
[BaseDriver] Event ‘newSessionRequested’ logged at 1507221339221 (22:05:39 GMT+0530 (India Standard Time))
[Appium] Creating new AndroidDriver (v1.20.0) session
[Appium] Capabilities:
[Appium] app: ‘C:\Users\priya\workspace\MobileApp\src\ApiDemos-debug.apk’
[Appium] platformName: ‘Android’
[Appium] deviceName: ‘emulator-5554’
[AndroidDriver] AndroidDriver version: 1.20.0
[BaseDriver] Session created with session id: 7958fae7-f959-4ee1-8684-31e4b205d15d
[AndroidDriver] Getting Java version
[AndroidDriver] Shutting down Android driver
[AndroidDriver] Called deleteSession but bootstrap wasn’t active
[MJSONWP] Encountered internal error running command: Error: Command ‘java -version’ exited with code 1
at ChildProcess.
(C:\Users\priya\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\teen_process\lib\teen_process.js:70:19)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:877:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
[HTTP] <-- POST /wd/hub/session 500 404 ms - 179