I’m trying to lauch Appium in the Windows Powershell on Windows 10 with the following command:
C:\Users\Quaspiel\Desktop> appium --pre-launch --default-capabilities '{
"app": "C:/Users/Quaspiel/Desktop/tapsterbot-dev/tapsterbot-dev/calibration/android/calibration-android.apk",
"platformName": "Android",
"platformVersion": "8.0.0",
"deviceName": "GalaxyS7",
"autoLaunch": "true",
"appPackage": "pylapp.tapster.calibration.android",
"appActivity": "pylapp.tapster.calibration.android.MainActivity"
}’
but I only get this output:
C:\Program Files\nodejs\node_modules\appium\build\lib\main.js: error: argument "-dc/--default-capabilities": Invalid parseDefaultCaps value: {
app: C:/Users/Quaspiel/Desktop/tapsterbot-dev/tapsterbot-dev/calibration/android/calibration-android.apk,
platformName: Android,
platformVersion: 8.0.0,
deviceName: GalaxyS7,
autoLaunch: true,
appPackage: pylapp.tapster.calibration.android,
appActivity: pylapp.tapster.calibration.android.MainActivity
}
What is wrong with my input?
While researching I found out that some of those parameters are deprecated, but I didn’t find out what else I’m supposed to use.
Thanks for reading and have a nice day.