A new session could not be created. (Original error: 'java -version' failed. Error: spawn ENOENT)

前端 未结 3 1639
抹茶落季
抹茶落季 2020-12-22 05:05

I\'m trying to run a test that just opens whatsapp messenger using appium. I\'m getting the error: A new session could not be created. (Original error: \'java -versi

3条回答
  •  情深已故
    2020-12-22 05:47

    Problem solved! For some reason there was missing the path for System32 in my PATH variable! I realized it when i run android on command line and there was a message: xcopy is not recognized as an internal or external command although sdk manager was running normally.

提交回复
热议问题