Skip to content

Instantly share code, notes, and snippets.

@JaniJegoroff
Created June 29, 2016 09:10
Show Gist options
  • Save JaniJegoroff/ea50b254b3bd4a7fae0b7a3b88e48a50 to your computer and use it in GitHub Desktop.
Save JaniJegoroff/ea50b254b3bd4a7fae0b7a3b88e48a50 to your computer and use it in GitHub Desktop.
UiAutomator exited unexpectedly when changing network mode
Janis-MacBook-Air:bdd janijegoroff$ appium
[Appium] Welcome to Appium v1.5.3 (REV 300441be033c7e47ae26de29137aa985ad7169d4)
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"newCommandTimeout":999999,"platformName":"Android","deviceName":"Nexus 7","app":"/Users/janijegoroff/projects/ruby_lib/android_tests/api.apk","appPackage":"io.appium.android.apis","appActivity":".ApiDemos"}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"newCommandTimeout":99999...
[Appium] Creating new AndroidDriver session
[Appium] Capabilities:
[Appium] newCommandTimeout: 999999
[Appium] platformName: 'Android'
[Appium] deviceName: 'Nexus 7'
[Appium] app: '/Users/janijegoroff/projects/ruby_lib/android_tests/api.apk'
[Appium] appPackage: 'io.appium.android.apis'
[Appium] appActivity: '.ApiDemos'
[BaseDriver] Session created with session id: 7f53626d-7b61-4acb-b50e-6460db2c82d4
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_45
[ADB] Checking whether adb is present
[ADB] Using adb from /Users/janijegoroff/android-development/sdk/platform-tools/adb
[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] Using device: SH365W905686
[ADB] Checking whether adb is present
[ADB] Using adb from /Users/janijegoroff/android-development/sdk/platform-tools/adb
[debug] [ADB] Setting device id to SH365W905686
[BaseDriver] Using local app '/Users/janijegoroff/projects/ruby_lib/android_tests/api.apk'
[debug] [AndroidDriver] Checking whether app is actually present
[AndroidDriver] Starting Android session
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","wait-for-device"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","install","/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/node_modules/io.appium.settings/bin/settings_apk-debug.apk"]
[debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","install","/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/node_modules/appium-unlock/bin/unlock_apk-debug.apk"]
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","getprop","ro.build.version.release"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","dumpsys","window"]
[AndroidDriver] Screen already unlocked, doing nothing
[AndroidDriver] Remote apk path is /data/local/tmp/43e47d1be6a34c2ada8f5249f5eedd58.apk
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","ls","/data/local/tmp/43e47d1be6a34c2ada8f5249f5eedd58.apk"]
[debug] [AndroidDriver] Checking if app is installed
[debug] [ADB] Getting install status for io.appium.android.apis
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","getprop","ro.build.version.sdk"]
[debug] [ADB] Device API level: 21
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","pm","list","packages","-3","io.appium.android.apis"]
[debug] [ADB] App is installed
[AndroidDriver] Apk is already on remote and installed, resetting
[debug] [AndroidDriver] Running fast reset (stop and clear)
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","am","force-stop","io.appium.android.apis"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","pm","clear","io.appium.android.apis"]
[debug] [AndroidDriver] Extracting strings from apk /Users/janijegoroff/projects/ruby_lib/android_tests/api.apk null /var/folders/66/62hrz8650r72_srksbdfwpjm0000gn/T/io.appium.android.apis
[debug] [ADB] Extracting strings for language: default
[debug] [ADB] Device API level: 21
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","getprop","persist.sys.language"]
[debug] [ADB] Current device property 'persist.sys.language': en
[debug] [ADB] No strings.xml for language 'en', getting default strings.xml
[debug] [ADB] Reading strings from converted strings.json
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","push","/var/folders/66/62hrz8650r72_srksbdfwpjm0000gn/T/io.appium.android.apis/strings.json","/data/local/tmp"]
[debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","forward","tcp:4724","tcp:4724"]
[debug] [UiAutomator] Starting UiAutomator
[debug] [UiAutomator] Moving to state 'starting'
[debug] [UiAutomator] Parsing uiautomator jar
[debug] [UiAutomator] Found jar name: 'AppiumBootstrap.jar'
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","push","/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/node_modules/appium-android-bootstrap/bootstrap/bin/AppiumBootstrap.jar","/data/local/tmp/"]
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting all processes with uiautomator
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","ps","uiautomator"]
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: -P, 5037, -s, SH365W905686, shell, uiautomator, runtest, AppiumBootstrap.jar, -c, io.appium.android.bootstrap.Bootstrap, -e, pkg, io.appium.android.apis, -e, disableAndroidWatchers, false, -e, acceptSslCerts, false
[debug] [UiAutomator] Moving to state 'online'
[AndroidBootstrap] Android bootstrap socket is now connected
[debug] [ADB] Device API level: 21
[debug] [ADB] Getting connected devices...
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","am","start","-n","io.appium.android.apis/.ApiDemos","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"]
[Appium] New AndroidDriver session created successfully, session 7f53626d-7b61-4acb-b50e-6460db2c82d4 added to master session list
[MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webSto...
[HTTP] <-- POST /wd/hub/session 200 11540 ms - 752
[HTTP] --> POST /wd/hub/session/7f53626d-7b61-4acb-b50e-6460db2c82d4/timeouts/implicit_wait {"ms":0}
[MJSONWP] Calling AppiumDriver.implicitWait() with args: [0,"7f53626d-7b61-4acb-b50e...
[debug] [BaseDriver] Set implicit wait to 0ms
[MJSONWP] Responding to client with driver.implicitWait() result: null
[HTTP] <-- POST /wd/hub/session/7f53626d-7b61-4acb-b50e-6460db2c82d4/timeouts/implicit_wait 200 3 ms - 76
[HTTP] --> GET /wd/hub/session/7f53626d-7b61-4acb-b50e-6460db2c82d4/network_connection {}
[MJSONWP] Calling AppiumDriver.getNetworkConnection() with args: ["7f53626d-7b61-4acb-b50e-6...
[AndroidDriver] Getting network connection
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","settings","get","global","airplane_mode_on"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","settings","get","global","wifi_on"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","settings","get","global","mobile_data"]
[MJSONWP] Responding to client with driver.getNetworkConnection() result: 2
[HTTP] <-- GET /wd/hub/session/7f53626d-7b61-4acb-b50e-6460db2c82d4/network_connection 200 2954 ms - 73
[HTTP] --> POST /wd/hub/session/7f53626d-7b61-4acb-b50e-6460db2c82d4/network_connection {"type":1}
[MJSONWP] Calling AppiumDriver.setNetworkConnection() with args: [1,"7f53626d-7b61-4acb-b50e...
[AndroidDriver] Setting network connection
[debug] [AndroidBootstrap] Ignoring bootstrap disconnect
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","settings","put","global","airplane_mode_on",1]
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Restarting adb
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","wait-for-device"]
[UiAutomator] UiAutomator exited unexpectedly with code 0, signal null
[debug] [UiAutomator] Moving to state 'stopped'
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","forward","tcp:4724","tcp:4724"]
[debug] [UiAutomator] Starting UiAutomator
[debug] [UiAutomator] Moving to state 'starting'
[debug] [UiAutomator] Parsing uiautomator jar
[debug] [UiAutomator] Found jar name: 'AppiumBootstrap.jar'
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","push","/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/node_modules/appium-android-bootstrap/bootstrap/bin/AppiumBootstrap.jar","/data/local/tmp/"]
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting all processes with uiautomator
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","ps","uiautomator"]
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: -P, 5037, -s, SH365W905686, shell, uiautomator, runtest, AppiumBootstrap.jar, -c, io.appium.android.bootstrap.Bootstrap, -e, pkg, io.appium.android.apis, -e, disableAndroidWatchers, false, -e, acceptSslCerts, false
[debug] [UiAutomator] Moving to state 'online'
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Loading json...
[AndroidBootstrap] Android bootstrap socket is now connected
[debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [AndroidBootstrap] Ignoring bootstrap disconnect
[debug] [ADB] Getting connected devices...
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","am","broadcast","-a","android.intent.action.AIRPLANE_MODE","--ez","state","true"]
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Restarting adb
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","wait-for-device"]
[UiAutomator] UiAutomator exited unexpectedly with code 0, signal null
[debug] [UiAutomator] Moving to state 'stopped'
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","forward","tcp:4724","tcp:4724"]
[debug] [UiAutomator] Starting UiAutomator
[debug] [UiAutomator] Moving to state 'starting'
[debug] [UiAutomator] Parsing uiautomator jar
[debug] [UiAutomator] Found jar name: 'AppiumBootstrap.jar'
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","push","/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/node_modules/appium-android-bootstrap/bootstrap/bin/AppiumBootstrap.jar","/data/local/tmp/"]
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting all processes with uiautomator
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","ps","uiautomator"]
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: -P, 5037, -s, SH365W905686, shell, uiautomator, runtest, AppiumBootstrap.jar, -c, io.appium.android.bootstrap.Bootstrap, -e, pkg, io.appium.android.apis, -e, disableAndroidWatchers, false, -e, acceptSslCerts, false
[debug] [UiAutomator] Moving to state 'online'
[AndroidBootstrap] Android bootstrap socket is now connected
[debug] [AndroidBootstrap] Watching for bootstrap disconnect
[AndroidDriver] Getting network connection
[debug] [ADB] Getting connected devices...
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","settings","get","global","airplane_mode_on"]
[MJSONWP] Responding to client with driver.setNetworkConnection() result: 1
[HTTP] <-- POST /wd/hub/session/7f53626d-7b61-4acb-b50e-6460db2c82d4/network_connection 200 10462 ms - 73
[HTTP] --> GET /wd/hub/session/7f53626d-7b61-4acb-b50e-6460db2c82d4/network_connection {}
[MJSONWP] Calling AppiumDriver.getNetworkConnection() with args: ["7f53626d-7b61-4acb-b50e-6...
[AndroidDriver] Getting network connection
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","settings","get","global","airplane_mode_on"]
[MJSONWP] Responding to client with driver.getNetworkConnection() result: 1
[HTTP] <-- GET /wd/hub/session/7f53626d-7b61-4acb-b50e-6460db2c82d4/network_connection 200 912 ms - 73
[HTTP] --> POST /wd/hub/session/7f53626d-7b61-4acb-b50e-6460db2c82d4/network_connection {"type":2}
[MJSONWP] Calling AppiumDriver.setNetworkConnection() with args: [2,"7f53626d-7b61-4acb-b50e...
[AndroidDriver] Setting network connection
[debug] [AndroidBootstrap] Ignoring bootstrap disconnect
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","settings","put","global","airplane_mode_on",0]
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Restarting adb
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","wait-for-device"]
[UiAutomator] UiAutomator exited unexpectedly with code 0, signal null
[debug] [UiAutomator] Moving to state 'stopped'
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","forward","tcp:4724","tcp:4724"]
[debug] [UiAutomator] Starting UiAutomator
[debug] [UiAutomator] Moving to state 'starting'
[debug] [UiAutomator] Parsing uiautomator jar
[debug] [UiAutomator] Found jar name: 'AppiumBootstrap.jar'
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","push","/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/node_modules/appium-android-bootstrap/bootstrap/bin/AppiumBootstrap.jar","/data/local/tmp/"]
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting all processes with uiautomator
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","ps","uiautomator"]
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: -P, 5037, -s, SH365W905686, shell, uiautomator, runtest, AppiumBootstrap.jar, -c, io.appium.android.bootstrap.Bootstrap, -e, pkg, io.appium.android.apis, -e, disableAndroidWatchers, false, -e, acceptSslCerts, false
[debug] [UiAutomator] Moving to state 'online'
[AndroidBootstrap] Android bootstrap socket is now connected
[debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [AndroidBootstrap] Ignoring bootstrap disconnect
[debug] [ADB] Getting connected devices...
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","am","broadcast","-a","android.intent.action.AIRPLANE_MODE","--ez","state","false"]
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Restarting adb
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","wait-for-device"]
[UiAutomator] UiAutomator exited unexpectedly with code 0, signal null
[debug] [UiAutomator] Moving to state 'stopped'
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","forward","tcp:4724","tcp:4724"]
[debug] [UiAutomator] Starting UiAutomator
[debug] [UiAutomator] Moving to state 'starting'
[debug] [UiAutomator] Parsing uiautomator jar
[debug] [UiAutomator] Found jar name: 'AppiumBootstrap.jar'
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","push","/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/node_modules/appium-android-bootstrap/bootstrap/bin/AppiumBootstrap.jar","/data/local/tmp/"]
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting all processes with uiautomator
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","ps","uiautomator"]
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: -P, 5037, -s, SH365W905686, shell, uiautomator, runtest, AppiumBootstrap.jar, -c, io.appium.android.bootstrap.Bootstrap, -e, pkg, io.appium.android.apis, -e, disableAndroidWatchers, false, -e, acceptSslCerts, false
[debug] [UiAutomator] Moving to state 'online'
[AndroidBootstrap] Android bootstrap socket is now connected
[debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [AndroidBootstrap] Ignoring bootstrap disconnect
[debug] [ADB] Getting connected devices...
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","settings","put","global","wifi_on",1]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","settings","put","global","mobile_data",0]
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Restarting adb
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","wait-for-device"]
[UiAutomator] UiAutomator exited unexpectedly with code 0, signal null
[debug] [UiAutomator] Moving to state 'stopped'
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","forward","tcp:4724","tcp:4724"]
[debug] [UiAutomator] Starting UiAutomator
[debug] [UiAutomator] Moving to state 'starting'
[debug] [UiAutomator] Parsing uiautomator jar
[debug] [UiAutomator] Found jar name: 'AppiumBootstrap.jar'
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","push","/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/node_modules/appium-android-bootstrap/bootstrap/bin/AppiumBootstrap.jar","/data/local/tmp/"]
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting all processes with uiautomator
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","ps","uiautomator"]
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: -P, 5037, -s, SH365W905686, shell, uiautomator, runtest, AppiumBootstrap.jar, -c, io.appium.android.bootstrap.Bootstrap, -e, pkg, io.appium.android.apis, -e, disableAndroidWatchers, false, -e, acceptSslCerts, false
[debug] [UiAutomator] Moving to state 'online'
[AndroidBootstrap] Android bootstrap socket is now connected
[debug] [AndroidBootstrap] Watching for bootstrap disconnect
[AndroidDriver] Getting network connection
[debug] [ADB] Getting connected devices...
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","settings","get","global","airplane_mode_on"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","settings","get","global","wifi_on"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","settings","get","global","mobile_data"]
[MJSONWP] Responding to client with driver.setNetworkConnection() result: 2
[HTTP] <-- POST /wd/hub/session/7f53626d-7b61-4acb-b50e-6460db2c82d4/network_connection 200 19315 ms - 73
[HTTP] --> GET /wd/hub/session/7f53626d-7b61-4acb-b50e-6460db2c82d4/network_connection {}
[MJSONWP] Calling AppiumDriver.getNetworkConnection() with args: ["7f53626d-7b61-4acb-b50e-6...
[AndroidDriver] Getting network connection
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","settings","get","global","airplane_mode_on"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","settings","get","global","wifi_on"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","SH365W905686","shell","settings","get","global","mobile_data"]
[MJSONWP] Responding to client with driver.getNetworkConnection() result: 2
[HTTP] <-- GET /wd/hub/session/7f53626d-7b61-4acb-b50e-6460db2c82d4/network_connection 200 2746 ms - 73
^C
Janis-MacBook-Air:bdd janijegoroff$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment