MInimal javascript example Appium+UiAutomator2+real device just cannot get it to work


#1

Hello,
I am trying to figure out how to setup test environment for Android device.
Reaching out to community to help me figure out what I am doing wrong.

I have installed appium, appium-adb, appium-android-driver, appium-uiautomator2-driver, appium-uiautomator2-server, appium-base-driver.

Started appium server. And ran the minimal script node test.js. My test app gets installed on the phone so I beleive all the node dependencies are installed. But what ever I try after that, just fails and I do not have a clue why ( not very knowledgeable ). I am attaching appium output and my test.js script with error.

const wdio = require("webdriverio");

const opts = {
  port: 4723,
  capabilities:	{
	  "automationName": "UiAutomator2",
    "platformName": "Android",
    "platformVersion": "7",
    "deviceName": "SamsungJ3",
    "app": "/home/marko/app-debug.apk",
  }
};

const driverPromise = wdio.remote(opts);

driverPromise.then(
	function(driver) {
	console.log(driver.element("com.nosolution.lumena:id/et_email"));
	});

The error:

2019-04-06T09:15:48.063Z INFO webdriver: [POST] http://0.0.0.0:4723/wd/hub/session
2019-04-06T09:15:48.067Z INFO webdriver: DATA { capabilities:
   { alwaysMatch:
      { automationName: 'UiAutomator2',
        platformName: 'Android',
        platformVersion: '7',
        deviceName: 'SamsungJ3',
        app: '/home/marko/app-debug.apk' },
     firstMatch: [ {} ] },
  desiredCapabilities:
   { automationName: 'UiAutomator2',
     platformName: 'Android',
     platformVersion: '7',
     deviceName: 'SamsungJ3',
     app: '/home/marko/app-debug.apk' } }
(node:3321) UnhandledPromiseRejectionWarning: TypeError: driver.element is not a function
    at /home/marko/NODEJS/SamsungJ3/test.js:18:21
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:3321) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:3321) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

And appium output.

[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"automationName":"UiAutomator2","platformName":"Android","platformVersion":"7","deviceName":"SamsungJ3","app":"/home/marko/app-debug.apk"},"firstMatch":[{}]},"desiredCapabilities":{"automationName":"UiAutomator2","platformName":"Android","platformVersion":"7","deviceName":"SamsungJ3","app":"/home/marko/app-debug.apk"}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"automationName":"UiAutomator2","platformName":"Android","platformVersion":"7","deviceName":"SamsungJ3","app":"/home/marko/app-debug.apk"},null,{"alwaysMatch":{"automationName":"UiAutomator2","platformName":"Android","platformVersion":"7","deviceName":"SamsungJ3","app":"/home/marko/app-debug.apk"},"firstMatch":[{}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1554542148087 (11:15:48 GMT+0200 (Central European Summer Time))
[BaseDriver] The capabilities ["automationName","platformVersion","deviceName","app"] are not standard capabilities and should have an extension prefix
[Appium] Appium v1.12.1 creating new AndroidUiautomator2Driver (v1.33.0) session
[Appium] Capabilities:
[Appium]   automationName: UiAutomator2
[Appium]   platformName: Android
[Appium]   platformVersion: 7
[Appium]   deviceName: SamsungJ3
[Appium]   app: /home/marko/app-debug.apk
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"appium:aut... and MJSONWP desired capabilities {"automationName":"UiAutoma... were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"appium:aut...
[BaseDriver] Session created with session id: fa710a4f-3610-4086-9996-b45a53d94d8e
[BaseDriver] Using local app '/home/marko/app-debug.apk'
[debug] [UiAutomator2] Checking whether app is actually present
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[AndroidDriver] Looking for a device with Android '7'
[debug] [ADB] Setting device id to 42006440a88b9465
[ADB] Getting device platform version
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 shell getprop ro.build.version.release'
[debug] [ADB] Current device property 'ro.build.version.release': 7.0
[AndroidDriver] Using device: 42006440a88b9465
[debug] [ADB] Setting device id to 42006440a88b9465
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 shell getprop ro.build.version.sdk'
[debug] [ADB] Current device property 'ro.build.version.sdk': 24
[debug] [ADB] Device API level: 24
[debug] [AndroidDriver] Parsing package and activity from app manifest
[debug] [ADB] Starting '/home/marko/Android/Sdk/tools/bin/apkanalyzer' with args ["-h","manifest","print","/home/marko/app-debug.apk"]
[ADB] Package name: 'com.nosolution.lumena'
[ADB] Main activity name: 'com.nosolution.lumena.Launcher'
[debug] [AndroidDriver] Parsed package and activity are: com.nosolution.lumena/com.nosolution.lumena.Launcher
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 wait-for-device'
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 shell echo ping'
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 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 '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 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 ('2.14.0' >= '2.14.0')
[debug] [ADB] There is no need to install/upgrade '/home/marko/NODEJS/SamsungJ3/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] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 shell 'pgrep --help; echo $?''
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 shell pgrep \^appium\\.settings\$'
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 shell am start -W -n io.appium.settings/.Settings -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 shell appops set io.appium.settings android\:mock_location allow'
[debug] [Logcat] Starting logcat capture
[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 shell dumpsys package io.appium.uiautomator2.server'
[debug] [ADB] 'io.appium.uiautomator2.server' is installed
[debug] [ADB] Getting package info for 'io.appium.uiautomator2.server'
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 shell dumpsys package io.appium.uiautomator2.server'
[debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('3.4.0' >= '3.4.0')
[debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled
[debug] [ADB] Checking app cert for /home/marko/NODEJS/SamsungJ3/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v3.4.0.apk
[debug] [ADB] Starting '/home/marko/Android/Sdk/build-tools/28.0.3/apksigner' with args '["verify","--print-certs","/home/marko/NODEJS/SamsungJ3/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v3.4.0.apk"]'
[debug] [ADB] apksigner stdout: Signer #1 certificate DN: [email protected], CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] [ADB] 
[debug] [ADB] '/home/marko/NODEJS/SamsungJ3/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v3.4.0.apk' is already signed.
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 shell dumpsys package io.appium.uiautomator2.server.test'
[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed
[debug] [ADB] Checking app cert for /home/marko/NODEJS/SamsungJ3/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk
[debug] [ADB] Starting '/home/marko/Android/Sdk/build-tools/28.0.3/apksigner' with args '["verify","--print-certs","/home/marko/NODEJS/SamsungJ3/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk"]'
[debug] [ADB] apksigner stdout: Signer #1 certificate DN: [email protected], CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] [ADB] 
[debug] [ADB] '/home/marko/NODEJS/SamsungJ3/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' is already signed.
[UiAutomator2] Server packages are not going to be (re)installed
[debug] [UiAutomator2] Waiting up to 30000ms for services to be available
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 shell pm list instrumentation'
[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8200
[debug] [ADB] Forwarding system: 8200 to device: 6790
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 forward tcp\:8200 tcp\:6790'
[debug] [ADB] Checking app cert for /home/marko/app-debug.apk
[debug] [ADB] Starting '/home/marko/Android/Sdk/build-tools/28.0.3/apksigner' with args '["verify","--print-certs","/home/marko/app-debug.apk"]'
[debug] [ADB] apksigner stdout: Signer #1 certificate DN: [email protected], CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] [ADB] 
[debug] [ADB] '/home/marko/app-debug.apk' is already signed.
[debug] [ADB] Getting install status for com.nosolution.lumena
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 shell dumpsys package com.nosolution.lumena'
[debug] [ADB] 'com.nosolution.lumena' is installed
[debug] [ADB] Getting install status for com.nosolution.lumena
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 shell dumpsys package com.nosolution.lumena'
[debug] [ADB] 'com.nosolution.lumena' is installed
[debug] [ADB] Getting package info for 'com.nosolution.lumena'
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 shell dumpsys package com.nosolution.lumena'
[debug] [ADB] The version name of the installed 'com.nosolution.lumena' is greater or equal to the application version name ('0.1.0' >= '0.1.0')
[debug] [ADB] There is no need to install/upgrade '/home/marko/app-debug.apk'
[AndroidDriver] Performing fast reset on 'com.nosolution.lumena'
[debug] [ADB] Getting install status for com.nosolution.lumena
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 shell dumpsys package com.nosolution.lumena'
[debug] [ADB] 'com.nosolution.lumena' is installed
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 shell am force-stop com.nosolution.lumena'
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 shell pm clear com.nosolution.lumena'
[debug] [AndroidDriver] Performed fast reset on the installed 'com.nosolution.lumena' application (stop and clear)
[debug] [UiAutomator2] Performing shallow cleanup of automation leftovers
[debug] [UiAutomator2] No obsolete sessions have been detected (Error: socket hang up)
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 shell am force-stop io.appium.uiautomator2.server.test'
[UiAutomator2] Starting UIAutomator2 server 3.4.0
[UiAutomator2] Using UIAutomator2 server from '/home/marko/NODEJS/SamsungJ3/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v3.4.0.apk' and test from '/home/marko/NODEJS/SamsungJ3/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk'
[UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online...
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","42006440a88b9465","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[WD Proxy] Got an unexpected response: {"code":"ECONNRESET"}
[debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[WD Proxy] Got an unexpected response: {"code":"ECONNRESET"}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"None\",\"status\":0,\"value\":\"Status Invoked\"}"
[debug] [UiAutomator2] The initialization of the instrumentation process took 3105ms
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8200/wd/hub/session] with body: {"desiredCapabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UiAutomator2","platformVersion":"7","deviceName":"SamsungJ3","app":"/home/marko/app-debug.apk"},"platformName":"Android","automationName":"UiAutomator2","platformVersion":"7","deviceName":"42006440a88b9465","app":"/home/marko/app-debug.apk","deviceUDID":"42006440a88b9465","appPackage":"com.nosolution.lumena"}}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"ac8f9937-a071-4b72-a354-4ff34438c54b","status":0,"value":"Created Session"}
[debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://localhost:8200/wd/hub/session/ac8f9937-a071-4b72-a354-4ff34438c54b/appium/device/info] with no body
[debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"ac8f9937-a071-4b72-a354-4ff34438c54b\",\"status\":0,\"value\":{\"androidId\":\"b447f82b8dc4e4ee\",\"manufacturer\":\"samsung\",\"model\":\"SM-J330FN\",\"brand\":\"samsung\",\"apiVersion\":\"24\",\"platformVersion\":\"7.0\",\"carrierName\":\"Vip SRB  | Vip SRB\",\"realDisplaySize\":\"720x1280\",\"displayDensity\":320}}"
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 shell dumpsys window'
[debug] [AndroidDriver] Screen is locked, trying to unlock
[AndroidDriver] Using app unlock, this is going to be deprecated!
[AndroidDriver] Unlocking screen
[AndroidDriver] Launching .Unlock
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 shell am start -n io.appium.settings/.Unlock -c android.intent.category.LAUNCHER -a android.intent.action.MAIN -f 0x10200000'
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, 'com.nosolution.lumena/com.nosolution.lumena.Launcher'. Starting it ourselves
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 shell am start -W -n com.nosolution.lumena/com.nosolution.lumena.Launcher -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[debug] [ADB] Waiting up to 20000ms for activity matching pkg: 'com.nosolution.lumena' and activity: 'com.nosolution.lumena.Launcher' to be focused
[debug] [ADB] Possible activities, to be checked: 'com.nosolution.lumena.Launcher', 'com.nosolution.lumena.com.nosolution.lumena.Launcher'
[debug] [ADB] Getting focused package and activity
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 shell dumpsys window windows'
[debug] [ADB] Found package: 'com.nosolution.lumena' and fully qualified activity name : 'com.nosolution.lumena.Launcher'
[debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://localhost:8200/wd/hub/session/ac8f9937-a071-4b72-a354-4ff34438c54b/appium/device/pixel_ratio] with body: {}
[debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"ac8f9937-a071-4b72-a354-4ff34438c54b\",\"status\":0,\"value\":2}"
[debug] [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[debug] [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://localhost:8200/wd/hub/session/ac8f9937-a071-4b72-a354-4ff34438c54b/appium/device/system_bars] with body: {}
[debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"ac8f9937-a071-4b72-a354-4ff34438c54b\",\"status\":0,\"value\":{\"statusBar\":48}}"
[debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize'
[debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://localhost:8200/wd/hub/session/ac8f9937-a071-4b72-a354-4ff34438c54b/window/current/size] with body: {}
[debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"ac8f9937-a071-4b72-a354-4ff34438c54b\",\"status\":0,\"value\":{\"height\":1280,\"width\":720}}"
[Appium] New AndroidUiautomator2Driver session created successfully, session fa710a4f-3610-4086-9996-b45a53d94d8e added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1554542168750 (11:16:08 GMT+0200 (Central European Summer Time))
[debug] [W3C (fa710a4f)] Cached the protocol value 'W3C' for the new session fa710a4f-3610-4086-9996-b45a53d94d8e
[debug] [W3C (fa710a4f)] 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","automationName":"UiAutomator2","platformVersion":"7","deviceName":"SamsungJ3","app":"/home/marko/app-debug.apk"},"platformName":"Android","automationName":"UiAutomator2","platformVersion":"7.0","deviceName":"42006440a88b9465","app":"/home/marko/app-debug.apk","deviceUDID":"42006440a88b9465","appPackage":"com.nosolution.lumena","deviceApiLevel":24,"deviceScreenSize":"720x1280","deviceScreenDensity":320,"deviceModel":"SM-J330FN","deviceManufacturer":"samsung","pixelRatio":2,"statBarHeight":48,"viewportRect":{"left":0,"top":48,"width":720,"height":1232}}}
[HTTP] <-- POST /wd/hub/session 200 20667 ms - 867
[HTTP] 
[BaseDriver] Shutting down because we waited 60 seconds for a command
[debug] [UiAutomator2] Deleting UiAutomator2 session
[debug] [UiAutomator2] Deleting UiAutomator2 server session
[debug] [WD Proxy] Matched '/' to command name 'deleteSession'
[debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://localhost:8200/wd/hub/session/ac8f9937-a071-4b72-a354-4ff34438c54b] with no body
[Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
[Appium] Removing session fa710a4f-3610-4086-9996-b45a53d94d8e from our master session list
[debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"ac8f9937-a071-4b72-a354-4ff34438c54b\",\"status\":0,\"value\":\"Session deleted\"}"
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 shell am force-stop com.nosolution.lumena'
[debug] [Instrumentation] .
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 8200 
[debug] [ADB] Running '/home/marko/Android/Sdk/platform-tools/adb -P 5037 -s 42006440a88b9465 forward --remove tcp\:8200'
[debug] [Instrumentation] Time: 67.049
[debug] [Instrumentation] 
[debug] [Instrumentation] OK (1 test)
[debug] [Instrumentation] The process has exited with code 0

#2

I am aware that I am missing terribly but being aware that I am missing something and being aware of that something are completely different topics.

Any clue is welcome. = )


#3

Anyone can give a clue? = D