> Killed Node Server.
> Appium server process ended
> Launching Appium server with command: D:\Appium\node.exe lib\server\main.js --address 127.0.0.1 --port 4723 --platform-name Android --platform-version 23 --automation-name Appium --log-no-color
> info: Welcome to Appium v1.4.16 (REV ae6877eff263066b26328d457bd285c0cc62430d)
> info: Appium REST http interface listener started on 127.0.0.1:4723
> info: [debug] Non-default server args: {"address":"127.0.0.1","logNoColors":true,"platformName":"Android","platformVersion":"23","automationName":"Appium"}
> info: Console LogLevel: debug
> info: --> POST /wd/hub/session {"requiredCapabilities":{},"desiredCapabilities":{"deviceName":"106.37.252.16:10001","app":"D:\\ridepro\\robot-framework-demoapp-example3\\resources\\app\\BitbarSampleApp.apk","platformName":"Android","automationName":"appium","appPackage":"com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"}}
> info: Client User-Agent string: Python-urllib/2.7
> info: [debug] No appActivity desired capability or server param. Parsing from apk.
> info: [debug] Using local app from desired caps: D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] Creating new appium session 72555ef1-eba5-42c6-85cf-a72c54784ff7
> info: Starting android appium
> info: [debug] Getting Java version
> info: Java version is: 1.8.0_31
> info: [debug] Checking whether adb is present
> info: [debug] Using adb from D:\AppData\Local\Android\sdk\platform-tools\adb.exe
> info: [debug] Parsing package and activity from app manifest
> info: [debug] Checking whether aapt is present
> info: [debug] Using aapt from D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe
> info: [debug] Extracting package and launch activity from manifest.
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe dump badging D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] badging package: com.bitbar.testdroid
> info: [debug] badging act: com.bitbar.testdroid.BitbarSampleApplicationActivity
> info: [debug] Parsed package and activity are: com.bitbar.testdroid/com.bitbar.testdroid.BitbarSampleApplicationActivity
> info: [debug] Using fast reset? true
> info: [debug] Preparing device for session
> info: [debug] Checking whether app is actually present
> info: Retrieving device
> info: [debug] Trying to find a connected android device
> info: [debug] Getting connected devices...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe devices
> info: [debug] 1 device(s) connected
> info: Found device 106.37.252.16:10001
> info: [debug] Setting device id to 106.37.252.16:10001
> info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 wait-for-device
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "echo 'ready'"
> info: [debug] Starting logcat capture
> info: [debug] Getting device API level
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 22
> info: Device API level is: 22
> info: [debug] Extracting strings for language: default
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "getprop persist.sys.language"
> info: [debug] Current device persist.sys.language:
> info: [debug] java -jar "D:\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar" "stringsFromApk" "D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk" "C:\Users\sjk\AppData\Local\Temp\com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"
> info: [debug] Reading strings from converted strings.json
> info: [debug] Setting language to default
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 push "C:\\Users\\sjk\\AppData\\Local\\Temp\\com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1\\strings.json" /data/local/tmp
> info: [debug] Checking whether aapt is present
> info: [debug] Using aapt from D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe
> info: [debug] Retrieving process from manifest.
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe dump xmltree D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk AndroidManifest.xml
> info: [debug] Set app process to: com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] Not uninstalling app since server not started with --full-reset
> info: [debug] Checking app cert for D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk.
> info: [debug] executing cmd: java -jar D:\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] App already signed.
> info: [debug] Zip-aligning D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] Checking whether zipalign is present
> info: [debug] Using zipalign from D:\AppData\Local\Android\sdk\build-tools\25.0.1\zipalign.exe
> info: [debug] Zip-aligning apk.
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\build-tools\25.0.1\zipalign.exe -f 4 D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk C:\Users\sjk\AppData\Local\Temp\117115-9492-1936tfz\appium.tmp
> info: [debug] MD5 for app is 281ed7ee8c3c8cc9172b7a25c1aa26c6
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "ls /data/local/tmp/281ed7ee8c3c8cc9172b7a25c1aa26c6.apk"
> info: [debug] Getting install status for com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] Getting device API level
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 22
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "pm list packages -3 com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"
> info: [debug] App is not installed
> info: Installing App
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "mkdir -p /data/local/tmp/"
> info: [debug] Removing any old apks
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "ls /data/local/tmp/*.apk"
> info: [debug] Found an apk we want to keep at /data/local/tmp/281ed7ee8c3c8cc9172b7a25c1aa26c6.apk
> info: [debug] Couldn't find any apks to remove
> info: [debug] Uninstalling com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "am force-stop com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 uninstall com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] App was uninstalled
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "pm install -r /data/local/tmp/281ed7ee8c3c8cc9172b7a25c1aa26c6.apk"
> info: [debug] Forwarding system:4724 to device:4724
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 forward tcp:4724 tcp:4724
> info: [debug] Pushing appium bootstrap to device...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 push "D:\\Appium\\node_modules\\appium\\build\\android_bootstrap\\AppiumBootstrap.jar" /data/local/tmp/
> info: [debug] Pushing settings apk to device...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 install "D:\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk"
> info: [debug] Pushing unlock helper app to device...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 install "D:\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk"
> info: Starting App
> info: [debug] Attempting to kill all 'uiautomator' processes
> info: [debug] Getting all processes with 'uiautomator'
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "ps 'uiautomator'"
> info: [debug] No matching processes found
> info: [debug] Running bootstrap
> info: [debug] spawning: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1 -e disableAndroidWatchers false
> info: [debug] [UIAUTOMATOR STDOUT] Unsupported standalone parameter.
> info: [debug] UiAutomator exited
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "echo 'ping'"
> info: [debug] Attempting to uninstall app
> info: [debug] Not uninstalling app since server not started with --full-reset
> info: [debug] Cleaning up android objects
> error: UiAutomator quit before it successfully launched
> info: [debug] Cleaning up appium session
> error: Failed to start an Appium session, err was: Error: UiAutomator quit before it successfully launched
> info: [debug] Error: UiAutomator quit before it successfully launched
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:205:23)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android-hybrid.js:249:5)
> at Object.async.eachSeries (D:\Appium\node_modules\appium\node_modules\async\lib\async.js:142:20)
> at [object Object].androidHybrid.stopChromedriverProxies (D:\Appium\node_modules\appium\lib\devices\android\android-hybrid.js:233:9)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:200:10)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:222:9)
> at [object Object].androidCommon.uninstallApp (D:\Appium\node_modules\appium\lib\devices\android\android-common.js:478:5)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:220:12)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:229:11)
> at D:\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:901:7
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:180:9)
> at ChildProcess.exithandler (child_process.js:742:7)
> at ChildProcess.emit (events.js:110:17)
> at maybeClose (child_process.js:1016:16)
> at Process.ChildProcess._handle.onexit (child_process.js:1088:5)
> info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: UiAutomator quit before it successfully launched)","origValue":"UiAutomator quit before it successfully launched"},"sessionId":null}
> info: <-- POST /wd/hub/session 500 12682.790 ms - 218
> info: --> POST /wd/hub/session {"requiredCapabilities":{},"desiredCapabilities":{"deviceName":"106.37.252.16:10001","app":"D:\\ridepro\\robot-framework-demoapp-example3\\resources\\app\\BitbarSampleApp.apk","platformName":"Android","automationName":"appium","appPackage":"com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"}}
> info: Client User-Agent string: Python-urllib/2.7
> info: [debug] No appActivity desired capability or server param. Parsing from apk.
> info: [debug] Using local app from desired caps: D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] Creating new appium session 411cc09d-9ceb-4b43-9423-58235b0c30e5
> info: Starting android appium
> info: [debug] Getting Java version
> info: Java version is: 1.8.0_31
> info: [debug] Checking whether adb is present
> info: [debug] Using adb from D:\AppData\Local\Android\sdk\platform-tools\adb.exe
> info: [debug] Parsing package and activity from app manifest
> info: [debug] Checking whether aapt is present
> info: [debug] Using aapt from D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe
> info: [debug] Extracting package and launch activity from manifest.
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe dump badging D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] badging package: com.bitbar.testdroid
> info: [debug] badging act: com.bitbar.testdroid.BitbarSampleApplicationActivity
> info: [debug] Parsed package and activity are: com.bitbar.testdroid/com.bitbar.testdroid.BitbarSampleApplicationActivity
> info: [debug] Using fast reset? true
> info: [debug] Preparing device for session
> info: [debug] Checking whether app is actually present
> info: Retrieving device
> info: [debug] Trying to find a connected android device
> info: [debug] Getting connected devices...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe devices
> info: [debug] 1 device(s) connected
> info: Found device 106.37.252.16:10001
> info: [debug] Setting device id to 106.37.252.16:10001
> info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 wait-for-device
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "echo 'ready'"
> info: [debug] Starting logcat capture
> info: [debug] Getting device API level
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 22
> info: Device API level is: 22
> info: [debug] Extracting strings for language: default
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "getprop persist.sys.language"
> info: [debug] Current device persist.sys.language:
> info: [debug] java -jar "D:\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar" "stringsFromApk" "D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk" "C:\Users\sjk\AppData\Local\Temp\com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"
> info: [debug] Reading strings from converted strings.json
> info: [debug] Setting language to default
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 push "C:\\Users\\sjk\\AppData\\Local\\Temp\\com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1\\strings.json" /data/local/tmp
> info: [debug] Checking whether aapt is present
> info: [debug] Using aapt from D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe
> info: [debug] Retrieving process from manifest.
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe dump xmltree D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk AndroidManifest.xml
> info: [debug] Set app process to: com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] Not uninstalling app since server not started with --full-reset
> info: [debug] Checking app cert for D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk.
> info: [debug] executing cmd: java -jar D:\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] App already signed.
> info: [debug] Zip-aligning D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] Checking whether zipalign is present
> info: [debug] Using zipalign from D:\AppData\Local\Android\sdk\build-tools\25.0.1\zipalign.exe
> info: [debug] Zip-aligning apk.
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\build-tools\25.0.1\zipalign.exe -f 4 D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk C:\Users\sjk\AppData\Local\Temp\117115-9492-fnn14o\appium.tmp
> info: [debug] MD5 for app is 281ed7ee8c3c8cc9172b7a25c1aa26c6
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "ls /data/local/tmp/281ed7ee8c3c8cc9172b7a25c1aa26c6.apk"
> info: [debug] Getting install status for com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] Getting device API level
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 22
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "pm list packages -3 com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"
> info: [debug] App is not installed
> info: Installing App
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "mkdir -p /data/local/tmp/"
> info: [debug] Removing any old apks
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "ls /data/local/tmp/*.apk"
> info: [debug] Found an apk we want to keep at /data/local/tmp/281ed7ee8c3c8cc9172b7a25c1aa26c6.apk
> info: [debug] Couldn't find any apks to remove
> info: [debug] Uninstalling com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "am force-stop com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 uninstall com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] App was uninstalled
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "pm install -r /data/local/tmp/281ed7ee8c3c8cc9172b7a25c1aa26c6.apk"
> info: [debug] Forwarding system:4724 to device:4724
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 forward tcp:4724 tcp:4724
> info: [debug] Pushing appium bootstrap to device...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 push "D:\\Appium\\node_modules\\appium\\build\\android_bootstrap\\AppiumBootstrap.jar" /data/local/tmp/
> info: [debug] Pushing settings apk to device...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 install "D:\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk"
> info: [debug] Pushing unlock helper app to device...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 install "D:\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk"
> info: Starting App
> info: [debug] Attempting to kill all 'uiautomator' processes
> info: [debug] Getting all processes with 'uiautomator'
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "ps 'uiautomator'"
> info: [debug] No matching processes found
> info: [debug] Running bootstrap
> info: [debug] spawning: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1 -e disableAndroidWatchers false
> info: [debug] [UIAUTOMATOR STDOUT] Unsupported standalone parameter.
> info: [debug] UiAutomator exited
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "echo 'ping'"
> error: UiAutomator quit before it successfully launched
> info: [debug] Attempting to uninstall app
> info: [debug] Not uninstalling app since server not started with --full-reset
> info: [debug] Cleaning up android objects
> info: [debug] Cleaning up appium session
> info: [debug] Error: UiAutomator quit before it successfully launched
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:205:23)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android-hybrid.js:249:5)
> at Object.async.eachSeries (D:\Appium\node_modules\appium\node_modules\async\lib\async.js:142:20)
> at [object Object].androidHybrid.stopChromedriverProxies (D:\Appium\node_modules\appium\lib\devices\android\android-hybrid.js:233:9)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:200:10)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:222:9)
> at [object Object].androidCommon.uninstallApp (D:\Appium\node_modules\appium\lib\devices\android\android-common.js:478:5)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:220:12)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:229:11)
> at D:\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:901:7
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:180:9)
> at ChildProcess.exithandler (child_process.js:742:7)
> at ChildProcess.emit (events.js:110:17)
> at maybeClose (child_process.js:1016:16)
> at Process.ChildProcess._handle.onexit (child_process.js:1088:5)
> info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: UiAutomator quit before it successfully launched)","origValue":"UiAutomator quit before it successfully launched"},"sessionId":null}
> error: Failed to start an Appium session, err was: Error: UiAutomator quit before it successfully launched
> info: <-- POST /wd/hub/session 500 10987.162 ms - 218
> info: --> POST /wd/hub/session {"requiredCapabilities":{},"desiredCapabilities":{"deviceName":"106.37.252.16:10001","app":"D:\\ridepro\\robot-framework-demoapp-example3\\resources\\app\\BitbarSampleApp.apk","platformName":"Android","automationName":"appium","appPackage":"com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"}}
> info: Client User-Agent string: Python-urllib/2.7
> info: [debug] No appActivity desired capability or server param. Parsing from apk.
> info: [debug] Using local app from desired caps: D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] Creating new appium session b4e09ab5-b89b-4222-a19c-21e9d505b3d9
> info: Starting android appium
> info: [debug] Getting Java version
> info: Java version is: 1.8.0_31
> info: [debug] Checking whether adb is present
> info: [debug] Using adb from D:\AppData\Local\Android\sdk\platform-tools\adb.exe
> info: [debug] Parsing package and activity from app manifest
> info: [debug] Checking whether aapt is present
> info: [debug] Using aapt from D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe
> info: [debug] Extracting package and launch activity from manifest.
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe dump badging D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] badging package: com.bitbar.testdroid
> info: [debug] badging act: com.bitbar.testdroid.BitbarSampleApplicationActivity
> info: [debug] Parsed package and activity are: com.bitbar.testdroid/com.bitbar.testdroid.BitbarSampleApplicationActivity
> info: [debug] Using fast reset? true
> info: [debug] Preparing device for session
> info: [debug] Checking whether app is actually present
> info: Retrieving device
> info: [debug] Trying to find a connected android device
> info: [debug] Getting connected devices...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe devices
> info: [debug] 1 device(s) connected
> info: Found device 106.37.252.16:10001
> info: [debug] Setting device id to 106.37.252.16:10001
> info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 wait-for-device
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "echo 'ready'"
> info: [debug] Starting logcat capture
> info: [debug] Getting device API level
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 22
> info: Device API level is: 22
> info: [debug] Extracting strings for language: default
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "getprop persist.sys.language"
> info: [debug] Current device persist.sys.language:
> info: [debug] java -jar "D:\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar" "stringsFromApk" "D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk" "C:\Users\sjk\AppData\Local\Temp\com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"
> info: [debug] Reading strings from converted strings.json
> info: [debug] Setting language to default
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 push "C:\\Users\\sjk\\AppData\\Local\\Temp\\com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1\\strings.json" /data/local/tmp
> info: [debug] Checking whether aapt is present
> info: [debug] Using aapt from D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe
> info: [debug] Retrieving process from manifest.
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe dump xmltree D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk AndroidManifest.xml
> info: [debug] Set app process to: com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] Not uninstalling app since server not started with --full-reset
> info: [debug] Checking app cert for D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk.
> info: [debug] executing cmd: java -jar D:\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] App already signed.
> info: [debug] Zip-aligning D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] Checking whether zipalign is present
> info: [debug] Using zipalign from D:\AppData\Local\Android\sdk\build-tools\25.0.1\zipalign.exe
> info: [debug] Zip-aligning apk.
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\build-tools\25.0.1\zipalign.exe -f 4 D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk C:\Users\sjk\AppData\Local\Temp\117115-9492-13vp93c\appium.tmp
> info: [debug] MD5 for app is 281ed7ee8c3c8cc9172b7a25c1aa26c6
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "ls /data/local/tmp/281ed7ee8c3c8cc9172b7a25c1aa26c6.apk"
> info: [debug] Getting install status for com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] Getting device API level
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 22
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "pm list packages -3 com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"
> info: [debug] App is not installed
> info: Installing App
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "mkdir -p /data/local/tmp/"
> info: [debug] Removing any old apks
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "ls /data/local/tmp/*.apk"
> info: [debug] Found an apk we want to keep at /data/local/tmp/281ed7ee8c3c8cc9172b7a25c1aa26c6.apk
> info: [debug] Couldn't find any apks to remove
> info: [debug] Uninstalling com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "am force-stop com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 uninstall com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] App was uninstalled
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "pm install -r /data/local/tmp/281ed7ee8c3c8cc9172b7a25c1aa26c6.apk"
> info: [debug] Forwarding system:4724 to device:4724
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 forward tcp:4724 tcp:4724
> info: [debug] Pushing appium bootstrap to device...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 push "D:\\Appium\\node_modules\\appium\\build\\android_bootstrap\\AppiumBootstrap.jar" /data/local/tmp/
> info: [debug] Pushing settings apk to device...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 install "D:\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk"
> info: [debug] Pushing unlock helper app to device...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 install "D:\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk"
> info: Starting App
> info: [debug] Attempting to kill all 'uiautomator' processes
> info: [debug] Getting all processes with 'uiautomator'
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "ps 'uiautomator'"
> info: [debug] No matching processes found
> info: [debug] Running bootstrap
> info: [debug] spawning: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1 -e disableAndroidWatchers false
> info: [debug] [UIAUTOMATOR STDOUT] Unsupported standalone parameter.
> info: [debug] UiAutomator exited
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "echo 'ping'"
> info: [debug] Attempting to uninstall app
> info: [debug] Not uninstalling app since server not started with --full-reset
> info: [debug] Cleaning up android objects
> error: UiAutomator quit before it successfully launched
> info: [debug] Cleaning up appium session
> error: Failed to start an Appium session, err was: Error: UiAutomator quit before it successfully launched
> info: [debug] Error: UiAutomator quit before it successfully launched
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:205:23)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android-hybrid.js:249:5)
> at Object.async.eachSeries (D:\Appium\node_modules\appium\node_modules\async\lib\async.js:142:20)
> at [object Object].androidHybrid.stopChromedriverProxies (D:\Appium\node_modules\appium\lib\devices\android\android-hybrid.js:233:9)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:200:10)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:222:9)
> at [object Object].androidCommon.uninstallApp (D:\Appium\node_modules\appium\lib\devices\android\android-common.js:478:5)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:220:12)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:229:11)
> at D:\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:901:7
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:180:9)
> at ChildProcess.exithandler (child_process.js:742:7)
> at ChildProcess.emit (events.js:110:17)
> at maybeClose (child_process.js:1016:16)
> at Process.ChildProcess._handle.onexit (child_process.js:1088:5)
> info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: UiAutomator quit before it successfully launched)","origValue":"UiAutomator quit before it successfully launched"},"sessionId":null}
> info: <-- POST /wd/hub/session 500 11627.083 ms - 218
> info: --> POST /wd/hub/session {"requiredCapabilities":{},"desiredCapabilities":{"deviceName":"106.37.252.16:10001","app":"D:\\ridepro\\robot-framework-demoapp-example3\\resources\\app\\BitbarSampleApp.apk","platformName":"Android","automationName":"appium","appPackage":"com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"}}
> info: Client User-Agent string: Python-urllib/2.7
> info: [debug] No appActivity desired capability or server param. Parsing from apk.
> info: [debug] Using local app from desired caps: D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] Creating new appium session 5c4f942c-0b02-4d37-979c-09fc576c941e
> info: Starting android appium
> info: [debug] Getting Java version
> info: Java version is: 1.8.0_31
> info: [debug] Checking whether adb is present
> info: [debug] Using adb from D:\AppData\Local\Android\sdk\platform-tools\adb.exe
> info: [debug] Parsing package and activity from app manifest
> info: [debug] Checking whether aapt is present
> info: [debug] Using aapt from D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe
> info: [debug] Extracting package and launch activity from manifest.
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe dump badging D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] badging package: com.bitbar.testdroid
> info: [debug] badging act: com.bitbar.testdroid.BitbarSampleApplicationActivity
> info: [debug] Parsed package and activity are: com.bitbar.testdroid/com.bitbar.testdroid.BitbarSampleApplicationActivity
> info: [debug] Using fast reset? true
> info: [debug] Preparing device for session
> info: [debug] Checking whether app is actually present
> info: Retrieving device
> info: [debug] Trying to find a connected android device
> info: [debug] Getting connected devices...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe devices
> info: [debug] 1 device(s) connected
> info: Found device 106.37.252.16:10001
> info: [debug] Setting device id to 106.37.252.16:10001
> info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 wait-for-device
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "echo 'ready'"
> info: [debug] Starting logcat capture
> info: [debug] Getting device API level
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 22
> info: Device API level is: 22
> info: [debug] Extracting strings for language: default
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "getprop persist.sys.language"
> info: [debug] Current device persist.sys.language:
> info: [debug] java -jar "D:\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar" "stringsFromApk" "D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk" "C:\Users\sjk\AppData\Local\Temp\com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"
> info: [debug] Reading strings from converted strings.json
> info: [debug] Setting language to default
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 push "C:\\Users\\sjk\\AppData\\Local\\Temp\\com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1\\strings.json" /data/local/tmp
> info: [debug] Checking whether aapt is present
> info: [debug] Using aapt from D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe
> info: [debug] Retrieving process from manifest.
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe dump xmltree D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk AndroidManifest.xml
> info: [debug] Set app process to: com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] Not uninstalling app since server not started with --full-reset
> info: [debug] Checking app cert for D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk.
> info: [debug] executing cmd: java -jar D:\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] App already signed.
> info: [debug] Zip-aligning D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] Checking whether zipalign is present
> info: [debug] Using zipalign from D:\AppData\Local\Android\sdk\build-tools\25.0.1\zipalign.exe
> info: [debug] Zip-aligning apk.
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\build-tools\25.0.1\zipalign.exe -f 4 D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk C:\Users\sjk\AppData\Local\Temp\117115-9492-1j3uts5\appium.tmp
> info: [debug] MD5 for app is 281ed7ee8c3c8cc9172b7a25c1aa26c6
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "ls /data/local/tmp/281ed7ee8c3c8cc9172b7a25c1aa26c6.apk"
> info: [debug] Getting install status for com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] Getting device API level
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 22
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "pm list packages -3 com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"
> info: [debug] App is not installed
> info: Installing App
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "mkdir -p /data/local/tmp/"
> info: [debug] Removing any old apks
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "ls /data/local/tmp/*.apk"
> info: [debug] Found an apk we want to keep at /data/local/tmp/281ed7ee8c3c8cc9172b7a25c1aa26c6.apk
> info: [debug] Couldn't find any apks to remove
> info: [debug] Uninstalling com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "am force-stop com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 uninstall com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] App was uninstalled
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "pm install -r /data/local/tmp/281ed7ee8c3c8cc9172b7a25c1aa26c6.apk"
> info: [debug] Forwarding system:4724 to device:4724
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 forward tcp:4724 tcp:4724
> info: [debug] Pushing appium bootstrap to device...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 push "D:\\Appium\\node_modules\\appium\\build\\android_bootstrap\\AppiumBootstrap.jar" /data/local/tmp/
> info: [debug] Pushing settings apk to device...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 install "D:\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk"
> info: [debug] Pushing unlock helper app to device...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 install "D:\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk"
> info: Starting App
> info: [debug] Attempting to kill all 'uiautomator' processes
> info: [debug] Getting all processes with 'uiautomator'
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "ps 'uiautomator'"
> info: [debug] No matching processes found
> info: [debug] Running bootstrap
> info: [debug] spawning: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1 -e disableAndroidWatchers false
> info: [debug] [UIAUTOMATOR STDOUT] Unsupported standalone parameter.
> info: [debug] UiAutomator exited
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10001 shell "echo 'ping'"
> info: [debug] Attempting to uninstall app
> info: [debug] Not uninstalling app since server not started with --full-reset
> info: [debug] Cleaning up android objects
> error: UiAutomator quit before it successfully launched
> info: [debug] Cleaning up appium session
> error: Failed to start an Appium session, err was: Error: UiAutomator quit before it successfully launched
> info: [debug] Error: UiAutomator quit before it successfully launched
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:205:23)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android-hybrid.js:249:5)
> at Object.async.eachSeries (D:\Appium\node_modules\appium\node_modules\async\lib\async.js:142:20)
> at [object Object].androidHybrid.stopChromedriverProxies (D:\Appium\node_modules\appium\lib\devices\android\android-hybrid.js:233:9)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:200:10)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:222:9)
> at [object Object].androidCommon.uninstallApp (D:\Appium\node_modules\appium\lib\devices\android\android-common.js:478:5)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:220:12)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:229:11)
> at D:\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:901:7
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:180:9)
> at ChildProcess.exithandler (child_process.js:742:7)
> at ChildProcess.emit (events.js:110:17)
> at maybeClose (child_process.js:1016:16)
> at Process.ChildProcess._handle.onexit (child_process.js:1088:5)
> info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: UiAutomator quit before it successfully launched)","origValue":"UiAutomator quit before it successfully launched"},"sessionId":null}
> info: <-- POST /wd/hub/session 500 10784.197 ms - 218
> info: [debug] Logcat terminated with code 0, signal null
> info: [debug] Logcat terminated with code 0, signal null
> info: [debug] Logcat terminated with code 0, signal null
> info: [debug] Logcat terminated with code 0, signal null
> info: --> POST /wd/hub/session {"requiredCapabilities":{},"desiredCapabilities":{"deviceName":"106.37.252.16:10003","app":"D:\\ridepro\\robot-framework-demoapp-example3\\resources\\app\\BitbarSampleApp.apk","platformName":"Android","automationName":"appium","appPackage":"com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"}}
> info: Client User-Agent string: Python-urllib/2.7
> info: [debug] No appActivity desired capability or server param. Parsing from apk.
> info: [debug] Using local app from desired caps: D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] Creating new appium session 87e47e2c-f0c4-4bc2-9782-09ede4851c53
> info: Starting android appium
> info: [debug] Getting Java version
> info: Java version is: 1.8.0_31
> info: [debug] Checking whether adb is present
> info: [debug] Using adb from D:\AppData\Local\Android\sdk\platform-tools\adb.exe
> info: [debug] Parsing package and activity from app manifest
> info: [debug] Checking whether aapt is present
> info: [debug] Using aapt from D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe
> info: [debug] Extracting package and launch activity from manifest.
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe dump badging D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] badging package: com.bitbar.testdroid
> info: [debug] badging act: com.bitbar.testdroid.BitbarSampleApplicationActivity
> info: [debug] Parsed package and activity are: com.bitbar.testdroid/com.bitbar.testdroid.BitbarSampleApplicationActivity
> info: [debug] Using fast reset? true
> info: [debug] Preparing device for session
> info: [debug] Checking whether app is actually present
> info: Retrieving device
> info: [debug] Trying to find a connected android device
> info: [debug] Getting connected devices...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe devices
> info: [debug] 1 device(s) connected
> info: Found device 106.37.252.16:10003
> info: [debug] Setting device id to 106.37.252.16:10003
> info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 wait-for-device
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "echo 'ready'"
> info: [debug] Starting logcat capture
> info: [debug] Getting device API level
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 19
> info: Device API level is: 19
> info: [debug] Extracting strings for language: default
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "getprop persist.sys.language"
> info: [debug] Current device persist.sys.language: zh
> info: [debug] java -jar "D:\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar" "stringsFromApk" "D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk" "C:\Users\sjk\AppData\Local\Temp\com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1" zh
> info: [debug] No strings.xml for language 'zh', getting default strings.xml
> info: [debug] java -jar "D:\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar" "stringsFromApk" "D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk" "C:\Users\sjk\AppData\Local\Temp\com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"
> info: [debug] Reading strings from converted strings.json
> info: [debug] Setting language to default
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 push "C:\\Users\\sjk\\AppData\\Local\\Temp\\com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1\\strings.json" /data/local/tmp
> info: [debug] Checking whether aapt is present
> info: [debug] Using aapt from D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe
> info: [debug] Retrieving process from manifest.
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe dump xmltree D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk AndroidManifest.xml
> info: [debug] Set app process to: com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] Not uninstalling app since server not started with --full-reset
> info: [debug] Checking app cert for D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk.
> info: [debug] executing cmd: java -jar D:\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] App already signed.
> info: [debug] Zip-aligning D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] Checking whether zipalign is present
> info: [debug] Using zipalign from D:\AppData\Local\Android\sdk\build-tools\25.0.1\zipalign.exe
> info: [debug] Zip-aligning apk.
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\build-tools\25.0.1\zipalign.exe -f 4 D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk C:\Users\sjk\AppData\Local\Temp\117115-9492-1a7gs2t\appium.tmp
> info: [debug] MD5 for app is 281ed7ee8c3c8cc9172b7a25c1aa26c6
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "ls /data/local/tmp/281ed7ee8c3c8cc9172b7a25c1aa26c6.apk"
> info: [debug] Getting install status for com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] Getting device API level
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 19
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "pm list packages -3 com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"
> info: [debug] App is not installed
> info: Installing App
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "mkdir -p /data/local/tmp/"
> info: [debug] Removing any old apks
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "ls /data/local/tmp/*.apk"
> info: [debug] Found an apk we want to keep at /data/local/tmp/281ed7ee8c3c8cc9172b7a25c1aa26c6.apk
> info: [debug] Couldn't find any apks to remove
> info: [debug] Uninstalling com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "am force-stop com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 uninstall com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] App was uninstalled
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "pm install -r /data/local/tmp/281ed7ee8c3c8cc9172b7a25c1aa26c6.apk"
> info: [debug] Forwarding system:4724 to device:4724
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 forward tcp:4724 tcp:4724
> info: [debug] Pushing appium bootstrap to device...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 push "D:\\Appium\\node_modules\\appium\\build\\android_bootstrap\\AppiumBootstrap.jar" /data/local/tmp/
> info: [debug] Pushing settings apk to device...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 install "D:\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk"
> info: [debug] Pushing unlock helper app to device...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 install "D:\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk"
> info: Starting App
> info: [debug] Attempting to kill all 'uiautomator' processes
> info: [debug] Getting all processes with 'uiautomator'
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "ps 'uiautomator'"
> info: [debug] No matching processes found
> info: [debug] Running bootstrap
> info: [debug] spawning: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1 -e disableAndroidWatchers false
> info: [debug] [UIAUTOMATOR STDOUT] Unsupported standalone parameter.
> info: [debug] UiAutomator exited
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "echo 'ping'"
> info: [debug] Attempting to uninstall app
> info: [debug] Not uninstalling app since server not started with --full-reset
> info: [debug] Cleaning up android objects
> info: [debug] Cleaning up appium session
> error: UiAutomator quit before it successfully launched
> error: Failed to start an Appium session, err was: Error: UiAutomator quit before it successfully launched
> info: [debug] Error: UiAutomator quit before it successfully launched
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:205:23)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android-hybrid.js:249:5)
> at Object.async.eachSeries (D:\Appium\node_modules\appium\node_modules\async\lib\async.js:142:20)
> at [object Object].androidHybrid.stopChromedriverProxies (D:\Appium\node_modules\appium\lib\devices\android\android-hybrid.js:233:9)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:200:10)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:222:9)
> at [object Object].androidCommon.uninstallApp (D:\Appium\node_modules\appium\lib\devices\android\android-common.js:478:5)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:220:12)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:229:11)
> at D:\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:901:7
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:180:9)
> at ChildProcess.exithandler (child_process.js:742:7)
> at ChildProcess.emit (events.js:110:17)
> at maybeClose (child_process.js:1016:16)
> at Process.ChildProcess._handle.onexit (child_process.js:1088:5)
> info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: UiAutomator quit before it successfully launched)","origValue":"UiAutomator quit before it successfully launched"},"sessionId":null}
> info: <-- POST /wd/hub/session 500 13550.504 ms - 218
> info: --> POST /wd/hub/session {"requiredCapabilities":{},"desiredCapabilities":{"deviceName":"106.37.252.16:10003","app":"D:\\ridepro\\robot-framework-demoapp-example3\\resources\\app\\BitbarSampleApp.apk","platformName":"Android","automationName":"appium","appPackage":"com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"}}
> info: Client User-Agent string: Python-urllib/2.7
> info: [debug] No appActivity desired capability or server param. Parsing from apk.
> info: [debug] Using local app from desired caps: D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] Creating new appium session d44c8637-b33a-43a2-8a8e-4ebb473f7209
> info: Starting android appium
> info: [debug] Getting Java version
> info: Java version is: 1.8.0_31
> info: [debug] Checking whether adb is present
> info: [debug] Using adb from D:\AppData\Local\Android\sdk\platform-tools\adb.exe
> info: [debug] Parsing package and activity from app manifest
> info: [debug] Checking whether aapt is present
> info: [debug] Using aapt from D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe
> info: [debug] Extracting package and launch activity from manifest.
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe dump badging D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] badging package: com.bitbar.testdroid
> info: [debug] badging act: com.bitbar.testdroid.BitbarSampleApplicationActivity
> info: [debug] Parsed package and activity are: com.bitbar.testdroid/com.bitbar.testdroid.BitbarSampleApplicationActivity
> info: [debug] Using fast reset? true
> info: [debug] Preparing device for session
> info: [debug] Checking whether app is actually present
> info: Retrieving device
> info: [debug] Trying to find a connected android device
> info: [debug] Getting connected devices...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe devices
> info: [debug] 1 device(s) connected
> info: Found device 106.37.252.16:10003
> info: [debug] Setting device id to 106.37.252.16:10003
> info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 wait-for-device
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "echo 'ready'"
> info: [debug] Starting logcat capture
> info: [debug] Getting device API level
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 19
> info: Device API level is: 19
> info: [debug] Extracting strings for language: default
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "getprop persist.sys.language"
> info: [debug] Current device persist.sys.language: zh
> info: [debug] java -jar "D:\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar" "stringsFromApk" "D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk" "C:\Users\sjk\AppData\Local\Temp\com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1" zh
> info: [debug] No strings.xml for language 'zh', getting default strings.xml
> info: [debug] java -jar "D:\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar" "stringsFromApk" "D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk" "C:\Users\sjk\AppData\Local\Temp\com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"
> info: [debug] Reading strings from converted strings.json
> info: [debug] Setting language to default
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 push "C:\\Users\\sjk\\AppData\\Local\\Temp\\com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1\\strings.json" /data/local/tmp
> info: [debug] Checking whether aapt is present
> info: [debug] Using aapt from D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe
> info: [debug] Retrieving process from manifest.
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe dump xmltree D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk AndroidManifest.xml
> info: [debug] Set app process to: com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] Not uninstalling app since server not started with --full-reset
> info: [debug] Checking app cert for D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk.
> info: [debug] executing cmd: java -jar D:\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] App already signed.
> info: [debug] Zip-aligning D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] Checking whether zipalign is present
> info: [debug] Using zipalign from D:\AppData\Local\Android\sdk\build-tools\25.0.1\zipalign.exe
> info: [debug] Zip-aligning apk.
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\build-tools\25.0.1\zipalign.exe -f 4 D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk C:\Users\sjk\AppData\Local\Temp\117115-9492-1fla3ly\appium.tmp
> info: [debug] MD5 for app is 281ed7ee8c3c8cc9172b7a25c1aa26c6
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "ls /data/local/tmp/281ed7ee8c3c8cc9172b7a25c1aa26c6.apk"
> info: [debug] Getting install status for com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] Getting device API level
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 19
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "pm list packages -3 com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"
> info: [debug] App is not installed
> info: Installing App
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "mkdir -p /data/local/tmp/"
> info: [debug] Removing any old apks
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "ls /data/local/tmp/*.apk"
> info: [debug] Found an apk we want to keep at /data/local/tmp/281ed7ee8c3c8cc9172b7a25c1aa26c6.apk
> info: [debug] Couldn't find any apks to remove
> info: [debug] Uninstalling com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "am force-stop com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 uninstall com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] App was uninstalled
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "pm install -r /data/local/tmp/281ed7ee8c3c8cc9172b7a25c1aa26c6.apk"
> info: [debug] Forwarding system:4724 to device:4724
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 forward tcp:4724 tcp:4724
> info: [debug] Pushing appium bootstrap to device...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 push "D:\\Appium\\node_modules\\appium\\build\\android_bootstrap\\AppiumBootstrap.jar" /data/local/tmp/
> info: [debug] Pushing settings apk to device...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 install "D:\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk"
> info: [debug] Pushing unlock helper app to device...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 install "D:\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk"
> info: Starting App
> info: [debug] Attempting to kill all 'uiautomator' processes
> info: [debug] Getting all processes with 'uiautomator'
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "ps 'uiautomator'"
> info: [debug] No matching processes found
> info: [debug] Running bootstrap
> info: [debug] spawning: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1 -e disableAndroidWatchers false
> info: [debug] [UIAUTOMATOR STDOUT] Unsupported standalone parameter.
> info: [debug] UiAutomator exited
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "echo 'ping'"
> info: [debug] Attempting to uninstall app
> info: [debug] Not uninstalling app since server not started with --full-reset
> info: [debug] Cleaning up android objects
> info: [debug] Cleaning up appium session
> error: UiAutomator quit before it successfully launched
> error: Failed to start an Appium session, err was: Error: UiAutomator quit before it successfully launched
> info: [debug] Error: UiAutomator quit before it successfully launched
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:205:23)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android-hybrid.js:249:5)
> at Object.async.eachSeries (D:\Appium\node_modules\appium\node_modules\async\lib\async.js:142:20)
> at [object Object].androidHybrid.stopChromedriverProxies (D:\Appium\node_modules\appium\lib\devices\android\android-hybrid.js:233:9)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:200:10)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:222:9)
> at [object Object].androidCommon.uninstallApp (D:\Appium\node_modules\appium\lib\devices\android\android-common.js:478:5)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:220:12)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:229:11)
> at D:\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:901:7
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:180:9)
> at ChildProcess.exithandler (child_process.js:742:7)
> at ChildProcess.emit (events.js:110:17)
> at maybeClose (child_process.js:1016:16)
> at Process.ChildProcess._handle.onexit (child_process.js:1088:5)
> info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: UiAutomator quit before it successfully launched)","origValue":"UiAutomator quit before it successfully launched"},"sessionId":null}
> info: <-- POST /wd/hub/session 500 11845.879 ms - 218
> info: --> POST /wd/hub/session {"requiredCapabilities":{},"desiredCapabilities":{"deviceName":"106.37.252.16:10003","app":"D:\\ridepro\\robot-framework-demoapp-example3\\resources\\app\\BitbarSampleApp.apk","platformName":"Android","automationName":"appium","appPackage":"com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"}}
> info: Client User-Agent string: Python-urllib/2.7
> info: [debug] No appActivity desired capability or server param. Parsing from apk.
> info: [debug] Using local app from desired caps: D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] Creating new appium session 19e36111-f7db-4ae3-8974-6c2759cb1ab6
> info: Starting android appium
> info: [debug] Getting Java version
> info: Java version is: 1.8.0_31
> info: [debug] Checking whether adb is present
> info: [debug] Using adb from D:\AppData\Local\Android\sdk\platform-tools\adb.exe
> info: [debug] Parsing package and activity from app manifest
> info: [debug] Checking whether aapt is present
> info: [debug] Using aapt from D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe
> info: [debug] Extracting package and launch activity from manifest.
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe dump badging D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] badging package: com.bitbar.testdroid
> info: [debug] badging act: com.bitbar.testdroid.BitbarSampleApplicationActivity
> info: [debug] Parsed package and activity are: com.bitbar.testdroid/com.bitbar.testdroid.BitbarSampleApplicationActivity
> info: [debug] Using fast reset? true
> info: [debug] Preparing device for session
> info: [debug] Checking whether app is actually present
> info: Retrieving device
> info: [debug] Trying to find a connected android device
> info: [debug] Getting connected devices...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe devices
> info: [debug] 1 device(s) connected
> info: Found device 106.37.252.16:10003
> info: [debug] Setting device id to 106.37.252.16:10003
> info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 wait-for-device
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "echo 'ready'"
> info: [debug] Starting logcat capture
> info: [debug] Getting device API level
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 19
> info: Device API level is: 19
> info: [debug] Extracting strings for language: default
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "getprop persist.sys.language"
> info: [debug] Current device persist.sys.language: zh
> info: [debug] java -jar "D:\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar" "stringsFromApk" "D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk" "C:\Users\sjk\AppData\Local\Temp\com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1" zh
> info: [debug] No strings.xml for language 'zh', getting default strings.xml
> info: [debug] java -jar "D:\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar" "stringsFromApk" "D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk" "C:\Users\sjk\AppData\Local\Temp\com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"
> info: [debug] Reading strings from converted strings.json
> info: [debug] Setting language to default
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 push "C:\\Users\\sjk\\AppData\\Local\\Temp\\com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1\\strings.json" /data/local/tmp
> info: [debug] Checking whether aapt is present
> info: [debug] Using aapt from D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe
> info: [debug] Retrieving process from manifest.
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe dump xmltree D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk AndroidManifest.xml
> info: [debug] Set app process to: com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] Not uninstalling app since server not started with --full-reset
> info: [debug] Checking app cert for D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk.
> info: [debug] executing cmd: java -jar D:\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] App already signed.
> info: [debug] Zip-aligning D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] Checking whether zipalign is present
> info: [debug] Using zipalign from D:\AppData\Local\Android\sdk\build-tools\25.0.1\zipalign.exe
> info: [debug] Zip-aligning apk.
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\build-tools\25.0.1\zipalign.exe -f 4 D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk C:\Users\sjk\AppData\Local\Temp\117115-9492-1sitmc5\appium.tmp
> info: [debug] MD5 for app is 281ed7ee8c3c8cc9172b7a25c1aa26c6
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "ls /data/local/tmp/281ed7ee8c3c8cc9172b7a25c1aa26c6.apk"
> info: [debug] Getting install status for com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] Getting device API level
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 19
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "pm list packages -3 com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"
> info: [debug] App is not installed
> info: Installing App
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "mkdir -p /data/local/tmp/"
> info: [debug] Removing any old apks
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "ls /data/local/tmp/*.apk"
> info: [debug] Found an apk we want to keep at /data/local/tmp/281ed7ee8c3c8cc9172b7a25c1aa26c6.apk
> info: [debug] Couldn't find any apks to remove
> info: [debug] Uninstalling com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "am force-stop com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 uninstall com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] App was uninstalled
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "pm install -r /data/local/tmp/281ed7ee8c3c8cc9172b7a25c1aa26c6.apk"
> info: [debug] Forwarding system:4724 to device:4724
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 forward tcp:4724 tcp:4724
> info: [debug] Pushing appium bootstrap to device...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 push "D:\\Appium\\node_modules\\appium\\build\\android_bootstrap\\AppiumBootstrap.jar" /data/local/tmp/
> info: [debug] Pushing settings apk to device...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 install "D:\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk"
> info: [debug] Pushing unlock helper app to device...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 install "D:\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk"
> info: Starting App
> info: [debug] Attempting to kill all 'uiautomator' processes
> info: [debug] Getting all processes with 'uiautomator'
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "ps 'uiautomator'"
> info: [debug] No matching processes found
> info: [debug] Running bootstrap
> info: [debug] spawning: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1 -e disableAndroidWatchers false
> info: [debug] [UIAUTOMATOR STDOUT] Unsupported standalone parameter.
> info: [debug] UiAutomator exited
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "echo 'ping'"
> info: [debug] Attempting to uninstall app
> info: [debug] Not uninstalling app since server not started with --full-reset
> info: [debug] Cleaning up android objects
> error: UiAutomator quit before it successfully launched
> error: Failed to start an Appium session, err was: Error: UiAutomator quit before it successfully launched
> info: [debug] Cleaning up appium session
> info: [debug] Error: UiAutomator quit before it successfully launched
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:205:23)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android-hybrid.js:249:5)
> at Object.async.eachSeries (D:\Appium\node_modules\appium\node_modules\async\lib\async.js:142:20)
> at [object Object].androidHybrid.stopChromedriverProxies (D:\Appium\node_modules\appium\lib\devices\android\android-hybrid.js:233:9)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:200:10)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:222:9)
> at [object Object].androidCommon.uninstallApp (D:\Appium\node_modules\appium\lib\devices\android\android-common.js:478:5)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:220:12)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:229:11)
> at D:\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:901:7
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:180:9)
> at ChildProcess.exithandler (child_process.js:742:7)
> at ChildProcess.emit (events.js:110:17)
> at maybeClose (child_process.js:1016:16)
> at Process.ChildProcess._handle.onexit (child_process.js:1088:5)
> info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: UiAutomator quit before it successfully launched)","origValue":"UiAutomator quit before it successfully launched"},"sessionId":null}
> info: <-- POST /wd/hub/session 500 12312.361 ms - 218
> info: --> POST /wd/hub/session {"requiredCapabilities":{},"desiredCapabilities":{"deviceName":"106.37.252.16:10003","app":"D:\\ridepro\\robot-framework-demoapp-example3\\resources\\app\\BitbarSampleApp.apk","platformName":"Android","automationName":"appium","appPackage":"com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"}}
> info: Client User-Agent string: Python-urllib/2.7
> info: [debug] No appActivity desired capability or server param. Parsing from apk.
> info: [debug] Using local app from desired caps: D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] Creating new appium session c7d2341f-3568-44c1-9fa6-606153448e95
> info: Starting android appium
> info: [debug] Getting Java version
> info: Java version is: 1.8.0_31
> info: [debug] Checking whether adb is present
> info: [debug] Using adb from D:\AppData\Local\Android\sdk\platform-tools\adb.exe
> info: [debug] Parsing package and activity from app manifest
> info: [debug] Checking whether aapt is present
> info: [debug] Using aapt from D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe
> info: [debug] Extracting package and launch activity from manifest.
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe dump badging D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] badging package: com.bitbar.testdroid
> info: [debug] badging act: com.bitbar.testdroid.BitbarSampleApplicationActivity
> info: [debug] Parsed package and activity are: com.bitbar.testdroid/com.bitbar.testdroid.BitbarSampleApplicationActivity
> info: [debug] Using fast reset? true
> info: [debug] Preparing device for session
> info: [debug] Checking whether app is actually present
> info: Retrieving device
> info: [debug] Trying to find a connected android device
> info: [debug] Getting connected devices...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe devices
> info: [debug] 1 device(s) connected
> info: Found device 106.37.252.16:10003
> info: [debug] Setting device id to 106.37.252.16:10003
> info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 wait-for-device
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "echo 'ready'"
> info: [debug] Starting logcat capture
> info: [debug] Getting device API level
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 19
> info: Device API level is: 19
> info: [debug] Extracting strings for language: default
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "getprop persist.sys.language"
> info: [debug] Current device persist.sys.language: zh
> info: [debug] java -jar "D:\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar" "stringsFromApk" "D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk" "C:\Users\sjk\AppData\Local\Temp\com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1" zh
> info: [debug] No strings.xml for language 'zh', getting default strings.xml
> info: [debug] java -jar "D:\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar" "stringsFromApk" "D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk" "C:\Users\sjk\AppData\Local\Temp\com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"
> info: [debug] Reading strings from converted strings.json
> info: [debug] Setting language to default
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 push "C:\\Users\\sjk\\AppData\\Local\\Temp\\com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1\\strings.json" /data/local/tmp
> info: [debug] Checking whether aapt is present
> info: [debug] Using aapt from D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe
> info: [debug] Retrieving process from manifest.
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\build-tools\25.0.1\aapt.exe dump xmltree D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk AndroidManifest.xml
> info: [debug] Set app process to: com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] Not uninstalling app since server not started with --full-reset
> info: [debug] Checking app cert for D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk.
> info: [debug] executing cmd: java -jar D:\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] App already signed.
> info: [debug] Zip-aligning D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk
> info: [debug] Checking whether zipalign is present
> info: [debug] Using zipalign from D:\AppData\Local\Android\sdk\build-tools\25.0.1\zipalign.exe
> info: [debug] Zip-aligning apk.
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\build-tools\25.0.1\zipalign.exe -f 4 D:\ridepro\robot-framework-demoapp-example3\resources\app\BitbarSampleApp.apk C:\Users\sjk\AppData\Local\Temp\117115-9492-zv014i\appium.tmp
> info: [debug] MD5 for app is 281ed7ee8c3c8cc9172b7a25c1aa26c6
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "ls /data/local/tmp/281ed7ee8c3c8cc9172b7a25c1aa26c6.apk"
> info: [debug] Getting install status for com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] Getting device API level
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 19
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "pm list packages -3 com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"
> info: [debug] App is not installed
> info: Installing App
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "mkdir -p /data/local/tmp/"
> info: [debug] Removing any old apks
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "ls /data/local/tmp/*.apk"
> info: [debug] Found an apk we want to keep at /data/local/tmp/281ed7ee8c3c8cc9172b7a25c1aa26c6.apk
> info: [debug] Couldn't find any apks to remove
> info: [debug] Uninstalling com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "am force-stop com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1"
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 uninstall com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1
> info: [debug] App was uninstalled
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "pm install -r /data/local/tmp/281ed7ee8c3c8cc9172b7a25c1aa26c6.apk"
> info: [debug] Forwarding system:4724 to device:4724
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 forward tcp:4724 tcp:4724
> info: [debug] Pushing appium bootstrap to device...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 push "D:\\Appium\\node_modules\\appium\\build\\android_bootstrap\\AppiumBootstrap.jar" /data/local/tmp/
> info: [debug] Pushing settings apk to device...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 install "D:\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk"
> info: [debug] Pushing unlock helper app to device...
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 install "D:\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk"
> info: Starting App
> info: [debug] Attempting to kill all 'uiautomator' processes
> info: [debug] Getting all processes with 'uiautomator'
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "ps 'uiautomator'"
> info: [debug] No matching processes found
> info: [debug] Running bootstrap
> info: [debug] spawning: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.bitbar.testdroid appActivity=MainActivity platformVersion=5.1 -e disableAndroidWatchers false
> info: [debug] [UIAUTOMATOR STDOUT] Unsupported standalone parameter.
> info: [debug] UiAutomator exited
> info: [debug] executing cmd: D:\AppData\Local\Android\sdk\platform-tools\adb.exe -s 106.37.252.16:10003 shell "echo 'ping'"
> info: [debug] Attempting to uninstall app
> error: UiAutomator quit before it successfully launched
> error: Failed to start an Appium session, err was: Error: UiAutomator quit before it successfully launched
> info: [debug] Not uninstalling app since server not started with --full-reset
> info: [debug] Cleaning up android objects
> info: [debug] Cleaning up appium session
> info: [debug] Error: UiAutomator quit before it successfully launched
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:205:23)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android-hybrid.js:249:5)
> at Object.async.eachSeries (D:\Appium\node_modules\appium\node_modules\async\lib\async.js:142:20)
> at [object Object].androidHybrid.stopChromedriverProxies (D:\Appium\node_modules\appium\lib\devices\android\android-hybrid.js:233:9)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:200:10)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:222:9)
> at [object Object].androidCommon.uninstallApp (D:\Appium\node_modules\appium\lib\devices\android\android-common.js:478:5)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:220:12)
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\lib\devices\android\android.js:229:11)
> at D:\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:901:7
> at [object Object].<anonymous> (D:\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:180:9)
> at ChildProcess.exithandler (child_process.js:742:7)
> at ChildProcess.emit (events.js:110:17)
> at maybeClose (child_process.js:1016:16)
> at Process.ChildProcess._handle.onexit (child_process.js:1088:5)
> info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: UiAutomator quit before it successfully launched)","origValue":"UiAutomator quit before it successfully launched"},"sessionId":null}
> info: <-- POST /wd/hub/session 500 13384.459 ms - 218
> Killed Node Server.
> Appium server process ended