Mobile Device Manager: the key provided was not present in the dictionary

Hello everyone!

I am experiencing an issue connecting a local mobile device through managed mobile devices. After starting the Appium server and starting the device connection, apparently, everything goes well in the log, but in the manager the message is displayed: the key provided was not present in the dictionary. Then the device is disconnected.
I researched some topics but couldn’t find a solution to this specific problem.

PS C:\Users\Edson> appium -p 10001 -dc ‘{“automationName”:“UiAutomator1”,“systemPort”:8201}’ --relaxed-security
[Appium] Welcome to Appium v1.20.2
[Appium] Non-default server args:
[Appium] port: 10001
[Appium] defaultCapabilities: {
[Appium] automationName: UiAutomator1
[Appium] systemPort: 8201
[Appium] }
[Appium] relaxedSecurityEnabled: true
[Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities:
[Appium] automationName: UiAutomator1
[Appium] systemPort: 8201
[Appium] Appium REST http interface listener started on 0.0.0.0:10001
[HTTP] → POST /wd/hub/session
[HTTP] {“desiredCapabilities”:{“platformName”:“Android”,“platformVersion”:“4.4”,“deviceName”:“SM-T116BU”,“newCommandTimeout”:300,“shouldUseCompactResponses”:false,“elementResponseAttributes”:“rect”,“autoWebview”:false,“automationName”:“UiAutomator2”,“nativeWebScreenshot”:true,“app”:“D:\Edson\Downloads\TheApp.apk”},“capabilities”:{“firstMatch”:[{“platformName”:“Android”}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{“platformName”:“Android”,“platformVersion”:“4.4”,“deviceName”:“SM-T116BU”,“newCommandTimeout”:300,“shouldUseCompactResponses”:false,“elementResponseAttributes”:“rect”,“autoWebview”:false,“automationName”:“UiAutomator2”,“nativeWebScreenshot”:true,“app”:“D:\Edson\Downloads\TheApp.apk”},null,{“firstMatch”:[{“platformName”:“Android”}]}]
[debug] [BaseDriver] Event ‘newSessionRequested’ logged at 1614283167573 (16:59:27 GMT-0300 (Horário Padrão de Brasília))
[BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix:
[BaseDriver] automationName
[BaseDriver] systemPort
[Appium] The following capabilities were provided in the JSONWP desired capabilities that are missing in W3C capabilities: [“platformVersion”,“deviceName”,“newCommandTimeout”,“shouldUseCompactResponses”,“elementResponseAttributes”,“autoWebview”,“nativeWebScreenshot”,“app”]
[Appium] Trying to fix W3C capabilities by merging them with JSONWP caps
[BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix:
[BaseDriver] platformVersion
[BaseDriver] deviceName
[BaseDriver] newCommandTimeout
[BaseDriver] shouldUseCompactResponses
[BaseDriver] elementResponseAttributes
[BaseDriver] autoWebview
[BaseDriver] nativeWebScreenshot
[BaseDriver] app
[BaseDriver] automationName
[BaseDriver] systemPort
[Appium] Appium v1.20.2 creating new AndroidDriver (v4.41.1) session
[Appium] Applying relaxed security to ‘AndroidDriver’ as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver] “alwaysMatch”: {
[debug] [BaseDriver] “appium:platformVersion”: “4.4”,
[debug] [BaseDriver] “appium:deviceName”: “SM-T116BU”,
[debug] [BaseDriver] “appium:newCommandTimeout”: 300,
[debug] [BaseDriver] “appium:shouldUseCompactResponses”: false,
[debug] [BaseDriver] “appium:elementResponseAttributes”: “rect”,
[debug] [BaseDriver] “appium:autoWebview”: false,
[debug] [BaseDriver] “appium:nativeWebScreenshot”: true,
[debug] [BaseDriver] “appium:app”: “D:\Edson\Downloads\TheApp.apk”,
[debug] [BaseDriver] “platformName”: “Android”,
[debug] [BaseDriver] “appium:automationName”: “UiAutomator1”,
[debug] [BaseDriver] “appium:systemPort”: 8201
[debug] [BaseDriver] },
[debug] [BaseDriver] “firstMatch”: [
[debug] [BaseDriver] {}
[debug] [BaseDriver] ]
[debug] [BaseDriver] }
[BaseDriver] The following capabilities were provided, but are not recognized by Appium:
[BaseDriver] shouldUseCompactResponses
[BaseDriver] elementResponseAttributes
[BaseDriver] systemPort
[BaseDriver] Session created with session id: 4daa4962-82db-4f8e-a9e6-ed587d9e759f
[ADB] Found 1 ‘build-tools’ folders under ‘C:\Users\Edson\AppData\Local\Android\Sdk’ (newest first):
[ADB] C:/Users/Edson/AppData/Local/Android/Sdk/build-tools/30.0.3
[ADB] Using ‘adb.exe’ from ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe’
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server’
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices
[debug] [ADB] Connected devices: [{“udid”:“3004a033b8d23300”,“state”:“device”}]
[AndroidDriver] Looking for a device with Android ‘4.4.0’
[debug] [ADB] Setting device id to 3004a033b8d23300
[ADB] Getting device platform version
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell getprop ro.build.version.release’
[debug] [ADB] Current device property ‘ro.build.version.release’: 4.4.4
[debug] [ADB] Setting device id to 3004a033b8d23300
[AndroidDriver] Using device: 3004a033b8d23300
[ADB] Using ‘adb.exe’ from ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe’
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server’
[debug] [ADB] Setting device id to 3004a033b8d23300
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell getprop ro.build.version.sdk’
[debug] [ADB] Current device property ‘ro.build.version.sdk’: 19
[debug] [ADB] Device API level: 19
[BaseDriver] Using local app ‘D:\Edson\Downloads\TheApp.apk’
[debug] [AndroidDriver] Checking whether app is actually present
[AndroidDriver] Starting Android session
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 wait-for-device’
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell echo ping’
[debug] [AndroidDriver] Pushing settings apk to device…
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell dumpsys package io.appium.settings’
[debug] [ADB] ‘io.appium.settings’ is installed
[debug] [ADB] Getting package info for ‘io.appium.settings’
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell dumpsys package io.appium.settings’
[debug] [ADB] The version name of the installed ‘io.appium.settings’ is greater or equal to the application version name (‘3.2.1’ >= ‘3.2.1’)
[debug] [ADB] There is no need to install/upgrade ‘C:\Users\Edson\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk’
[debug] [ADB] Getting IDs of all ‘io.appium.settings’ processes
[debug] [ADB] Using ps-based PID detection
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell ps --help’
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell ps’
[AndroidDriver] Granting permissions SET_ANIMATION_SCALE,CHANGE_CONFIGURATION,ACCESS_FINE_LOCATION to ‘io.appium.settings’
[debug] [ADB] Granting permissions [“android.permission.SET_ANIMATION_SCALE”,“android.permission.CHANGE_CONFIGURATION”,“android.permission.ACCESS_FINE_LOCATION”] to ‘io.appium.settings’
[debug] [ADB] Got the following command chunks to execute: [[“pm”,“grant”,“io.appium.settings”,“android.permission.SET_ANIMATION_SCALE”,";",“pm”,“grant”,“io.appium.settings”,“android.permission.CHANGE_CONFIGURATION”,";",“pm”,“grant”,“io.appium.settings”,“android.permission.ACCESS_FINE_LOCATION”,";"]]
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell pm grant io.appium.settings android.permission.SET_ANIMATION_SCALE ; pm grant io.appium.settings android.permission.CHANGE_CONFIGURATION ; pm grant io.appium.settings android.permission.ACCESS_FINE_LOCATION ;’
[debug] [ADB] Getting IDs of all ‘io.appium.settings’ processes
[debug] [ADB] Using ps-based PID detection
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell ps’
[debug] [ADB] Starting Appium Settings app
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell am start -n io.appium.settings/.Settings -a android.intent.action.MAIN -c android.intent.category.LAUNCHER’
[debug] [ADB] Getting IDs of all ‘io.appium.settings’ processes
[debug] [ADB] Using ps-based PID detection
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell ps’
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell settings put secure mock_location 1’
[debug] [Logcat] Starting logs capture with command: C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 logcat -v threadtime
[ADB] Getting device platform version
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell getprop ro.build.version.release’
[debug] [ADB] Current device property ‘ro.build.version.release’: 4.4.4
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell wm size’
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell getprop ro.product.model’
[debug] [ADB] Current device property ‘ro.product.model’: SM-T116BU
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell getprop ro.product.manufacturer’
[debug] [ADB] Current device property ‘ro.product.manufacturer’: samsung
[debug] [AndroidDriver] Parsing package and activity from app manifest
[ADB] Package name: ‘io.cloudgrey.the_app’
[ADB] Main activity name: ‘io.cloudgrey.the_app.MainActivity’
[debug] [AndroidDriver] Parsed package and activity are: io.cloudgrey.the_app/io.cloudgrey.the_app.MainActivity
[debug] [ADB] Getting install status for io.cloudgrey.the_app
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell dumpsys package io.cloudgrey.the_app’
[debug] [ADB] ‘io.cloudgrey.the_app’ is installed
[debug] [ADB] Getting package info for ‘io.cloudgrey.the_app’
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell dumpsys package io.cloudgrey.the_app’
[debug] [ADB] The version name of the installed ‘io.cloudgrey.the_app’ is greater or equal to the application version name (‘1.10.0’ >= ‘1.10.0’)
[debug] [ADB] There is no need to install/upgrade ‘D:\Edson\Downloads\TheApp.apk’
[AndroidDriver] Performing fast reset on ‘io.cloudgrey.the_app’
[debug] [ADB] Getting install status for io.cloudgrey.the_app
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell dumpsys package io.cloudgrey.the_app’
[debug] [ADB] ‘io.cloudgrey.the_app’ is installed
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell am force-stop io.cloudgrey.the_app’
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell pm clear io.cloudgrey.the_app’
[debug] [AndroidDriver] Performed fast reset on the installed ‘io.cloudgrey.the_app’ application (stop and clear)
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell rm -rf /data/local/tmp/strings.json’
[debug] [AndroidDriver] Extracting strings from apk
[debug] [AndroidDriver] D:\Edson\Downloads\TheApp.apk
[debug] [AndroidDriver] null
[debug] [AndroidDriver] C:\Users\Edson\AppData\Local\Temp\io.cloudgrey.the_app
[debug] [ADB] Extracting strings from for language: default
[ADB] Using ‘aapt.exe’ from ‘C:\Users\Edson\AppData\Local\Android\Sdk\build-tools\30.0.3\aapt.exe’
[debug] [ADB] Resource configurations: ["",“large-v4”,“xlarge-v4”,“night-v8”,“v11”,“v12”,“v13”,“h720dp-v13”,“sw600dp-v13”,“v14”,“v16”,“v17”,“v18”,“v21”,“ldltr-v21”,“v22”,“v23”,“v24”,“v25”,“v26”,“port”,“land”,“mdpi-v4”,“ldrtl-mdpi-v17”,“hdpi-v4”,“ldrtl-hdpi-v17”,“xhdpi-v4”,“ldrtl-xhdpi-v17”,“xxhdpi-v4”,“ldrtl-xxhdpi-v17”,“xxxhdpi-v4”,“ldrtl-xxxhdpi-v17”,“anydpi-v21”,“ca”,“da”,“fa”,“ja”,“ka”,“pa”,“ta”,“nb”,“be”,“de”,“ne”,“te”,“af”,“bg”,“th”,“fi”,“hi”,“si”,“vi”,“kk”,“mk”,“sk”,“uk”,“el”,“gl”,“ml”,“nl”,“pl”,“sl”,“tl”,“am”,“km”,“bn”,“in”,“kn”,“mn”,“ko”,“lo”,“ro”,“sq”,“ar”,“fr”,“hr”,“mr”,“sr”,“b+sr+Latn”,“tr”,“ur”,“bs”,“cs”,“es”,“is”,“ms”,“et”,“it”,“lt”,“pt”,“eu”,“gu”,“hu”,“ru”,“zu”,“lv”,“sv”,“iw”,“sw”,“hy”,“ky”,“my”,“az”,“uz”,“fr-rCA”,“en-rGB”,“zh-rHK”,“zh-rCN”,“en-rIN”,“pt-rBR”,“es-rUS”,“pt-rPT”,“en-rAU”,“zh-rTW”]
[debug] [ADB] Selected configuration: ‘(default)’
[ADB] Successfully extracted 68 strings from ‘D:\Edson\Downloads\TheApp.apk’ resources for ‘(default)’ configuration
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell mkdir -p /data/local’
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 push C:\Users\Edson\AppData\Local\Temp\io.cloudgrey.the_app\strings.json /data/local/tmp’
[debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 forward tcp:4724 tcp:4724’
[debug] [UiAutomator] Starting UiAutomator
[debug] [UiAutomator] Moving to state ‘starting’
[debug] [UiAutomator] Parsing uiautomator jar
[debug] [UiAutomator] Found jar name: ‘AppiumBootstrap.jar’
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell mkdir -p /data/local’
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 push C:\Users\Edson\AppData\Roaming\npm\node_modules\appium\node_modules\appium-android-driver\bootstrap\bin\AppiumBootstrap.jar /data/local/tmp/’
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting IDs of all ‘uiautomator’ processes
[debug] [ADB] Using ps-based PID detection
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell ps’
[ADB] No ‘uiautomator’ process has been found
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s",“3004a033b8d23300”,“shell”,“uiautomator”,“runtest”,“AppiumBootstrap.jar”,"-c",“io.appium.android.bootstrap.Bootstrap”,"-e",“pkg”,“io.cloudgrey.the_app”,"-e",“disableAndroidWatchers”,false,"-e",“acceptSslCerts”,false]
[debug] [UiAutomator] Moving to state ‘online’
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] Android bootstrap socket is now connected
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell dumpsys window’
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[AndroidDriver] Screen already unlocked, doing nothing
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell am start -W -n io.cloudgrey.the_app/io.cloudgrey.the_app.MainActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000’
[debug] [ADB] Waiting up to 20000ms for activity matching pkg: ‘io.cloudgrey.the_app’ and activity: ‘io.cloudgrey.the_app.MainActivity’ to be focused
[debug] [ADB] Possible activities, to be checked: ‘io.cloudgrey.the_app.MainActivity’, ‘io.cloudgrey.the_app.io.cloudgrey.the_app.MainActivity’
[debug] [ADB] Getting focused package and activity
[debug] [ADB] Running ‘C:\Users\Edson\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 3004a033b8d23300 shell dumpsys window windows’
[debug] [ADB] Found package: ‘io.cloudgrey.the_app’ and fully qualified activity name : ‘io.cloudgrey.the_app.MainActivity’
[Appium] New AndroidDriver session created successfully, session 4daa4962-82db-4f8e-a9e6-ed587d9e759f added to master session list
[debug] [BaseDriver] Event ‘newSessionStarted’ logged at 1614283204253 (17:00:04 GMT-0300 (Horário Padrão de Brasília))
[debug] [W3C (4daa4962)] Cached the protocol value ‘W3C’ for the new session 4daa4962-82db-4f8e-a9e6-ed587d9e759f
[debug] [W3C (4daa4962)] Responding to client with driver.createSession() result: {“capabilities”:{“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“platformName”:“Android”,“platformVersion”:“4.4”,“deviceName”:“SM-T116BU”,“newCommandTimeout”:300,“shouldUseCompactResponses”:false,“elementResponseAttributes”:“rect”,“autoWebview”:false,“nativeWebScreenshot”:true,“app”:“D:\Edson\Downloads\TheApp.apk”,“automationName”:“UiAutomator1”,“systemPort”:8201},“platformName”:“Android”,“platformVersion”:“4.4.4”,“deviceName”:“3004a033b8d23300”,“newCommandTimeout”:300,“shouldUseCompactResponses”:false,“elementResponseAttributes”:“rect”,“autoWebview”:false,“nativeWebScreenshot”:true,“app”:“D:\Edson\Downloads\TheApp.apk”,“automationName”:“UiAutomator1”,“systemPort”:8201,“deviceUDID”:“3004a033b8d23300”,“deviceScreenSize”:“600x1024”,“deviceModel”:“SM-T116BU”,“deviceManufacturer”:“samsung”,“appPackage”:“io.cloudgrey.the_app”,“appWaitPackage”:"io.clo…
[HTTP] ← POST /wd/hub/session 200 36749 ms - 1203
[HTTP]
[HTTP] → POST /wd/hub/session/4daa4962-82db-4f8e-a9e6-ed587d9e759f/context
[HTTP] {“name”:“NATIVE_APP”}
[debug] [W3C (4daa4962)] Calling AppiumDriver.setContext() with args: [“NATIVE_APP”,“4daa4962-82db-4f8e-a9e6-ed587d9e759f”]
[debug] [W3C (4daa4962)] Responding to client with driver.setContext() result: null
[HTTP] ← POST /wd/hub/session/4daa4962-82db-4f8e-a9e6-ed587d9e759f/context 200 25 ms - 14
[HTTP]
[HTTP] → GET /wd/hub/session/4daa4962-82db-4f8e-a9e6-ed587d9e759f
[HTTP] {}
[debug] [W3C (4daa4962)] Calling AppiumDriver.getSession() with args: [“4daa4962-82db-4f8e-a9e6-ed587d9e759f”]
[debug] [W3C (4daa4962)] Responding to client with driver.getSession() result: {“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“platformName”:“Android”,“platformVersion”:“4.4”,“deviceName”:“SM-T116BU”,“newCommandTimeout”:300,“shouldUseCompactResponses”:false,“elementResponseAttributes”:“rect”,“autoWebview”:false,“nativeWebScreenshot”:true,“app”:“D:\Edson\Downloads\TheApp.apk”,“automationName”:“UiAutomator1”,“systemPort”:8201},“platformName”:“Android”,“platformVersion”:“4.4.4”,“deviceName”:“3004a033b8d23300”,“newCommandTimeout”:300,“shouldUseCompactResponses”:false,“elementResponseAttributes”:“rect”,“autoWebview”:false,“nativeWebScreenshot”:true,“app”:“D:\Edson\Downloads\TheApp.apk”,“automationName”:“UiAutomator1”,“systemPort”:8201,“deviceUDID”:“3004a033b8d23300”,“deviceScreenSize”:“600x1024”,“deviceModel”:“SM-T116BU”,“deviceManufacturer”:“samsung”,“appPackage”:“io.cloudgrey.the_app”,“appWaitPackage”:“io.cloudgrey.the_app”,…
[HTTP] ← GET /wd/hub/session/4daa4962-82db-4f8e-a9e6-ed587d9e759f 200 13 ms - 1135

Thanks in advance for your help!

Please see Unable to connect with Appium

There is an issue with Appium 1.20!