New Session in Appium Desktop

I am trying to start a new session using Appium Desktop.

I am getting this error when starting the session.

Does anyone know what I am doing wrong?


Can you see your java version if you type java -version on the command line?

Hi, I have managed to fix this and java -version now returns my version java.

I have a different problem now when trying to start a new session.

These are my desired capabilities: image

Can you try adding the appPackage and appActivity capabilities as well and see if you get the same error?
Use this link if you’re not sure on how to get your app package and app activity. Use either the command line method or the APK Info app method.

I have added the appPackage and appActivity to my capabilities and got this error:

The new capabilities I’m using are:

Set ‘language’ capability to:

"language": "en",

… and ‘country’ is not supported as capability, but ‘locale’ - e.g.:

"locale": "US" 
"locale": "en_US" 

Please refer to this page to see if your capabilities are correct:

1 Like

Thanks for the information.

I have set my capabilities to:

But I am now getting:

I tried myself and got the same error. You have to do:


Thanks very much! I managed to start a new session.

Now to figure out why I can’t use ‘npm I appium’