I’m unable to launch the application. I’m getting the following error whenever I’m try to run my scripts, could anyone help me please.
[HTTP] {“desiredCapabilities”:{“app”:“C:\appium\APK\SmartBreathe _Build_NO_16-190104.apk”,“platformName”:“Android”,“deviceName”:“Lenovo A7010a48”,“platformVersion”:“6.0”},“capabilities”:{“desiredCapabilities”:{“app”:“C:\appium\APK\SmartBreathe _Build_NO_16-190104.apk”,“deviceName”:“Lenovo A7010a48”,“platformName”:“Android”,“platformVersion”:“6.0”},“firstMatch”:[{“platformName”:“android”}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{“app”:“C:\appium\APK\SmartBreathe _Build_NO_16-190104.apk”,“platformName”:“Android”,“deviceName”:“Lenovo A7010a48”,“platformVersion”:“6.0”},null,{“desiredCapabilities”:{“app”:“C:\appium\APK\SmartBreathe _Build_NO_16-190104.apk”,“deviceName”:“Lenovo A7010a48”,“platformName”:“Android”,“platformVersion”:“6.0”},“firstMatch”:[{“platformName”:“android”}]}]
[debug] [BaseDriver] Event ‘newSessionRequested’ logged at 1547103922507 (12:35:22 GMT+0530 (India Standard Time))
[Appium] Could not parse W3C capabilities: ‘deviceName’ can’t be blank
[Appium] Trying to fix W3C capabilities by merging them with JSONWP caps
[BaseDriver] The capabilities [“app”,“deviceName”,“platformVersion”] are not standard capabilities and should have an extension prefix
[Appium] Consider setting ‘automationName’ capability to ‘UiAutomator2’ on Android >= 6, since UIAutomator framework is not maintained anymore by the OS vendor.
[Appium] Creating new AndroidDriver (v4.8.0) session
[Appium] Capabilities:
[Appium] app: C:\appium\APK\SmartBreathe _Build_NO_16-190104.apk
[Appium] deviceName: Lenovo A7010a48
[Appium] platformVersion: 6.0
[Appium] platformName: android
[debug] [BaseDriver] W3C capabilities {“alwaysMatch”:{"appium:app… and MJSONWP desired capabilities {“app”:"C:\appium\APK\Sm… were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {“alwaysMatch”:{"appium:app…
[BaseDriver] Session created with session id: b6525efc-18fc-4e00-8a37-a50bfc464c76
[AndroidDriver] Java version is: 1.8.0_181
[ADB] Checking whether adb is present
[ADB] Found 4 ‘build-tools’ folders under ‘C:\appium\android-sdk’ (newest first):
[ADB] C:/appium/android-sdk/build-tools/28.0.3
[ADB] C:/appium/android-sdk/build-tools/28.0.2
[ADB] C:/appium/android-sdk/build-tools/28.0.1
[ADB] C:/appium/android-sdk/build-tools/28.0.0
[ADB] Using adb.exe from C:\appium\android-sdk\platform-tools\adb.exe
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[AndroidDriver] Looking for a device with Android ‘6.0’
[debug] [ADB] Setting device id to MVBQ5LYPUCTC85LB
[ADB] Getting device platform version
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell getprop ro.build.version.release’
[debug] [ADB] Current device property ‘ro.build.version.release’: 6.0
[AndroidDriver] Using device: MVBQ5LYPUCTC85LB
[debug] [ADB] Setting device id to MVBQ5LYPUCTC85LB
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell getprop ro.build.version.sdk’
[debug] [ADB] Current device property ‘ro.build.version.sdk’: 23
[debug] [ADB] Device API level: 23
[AndroidDriver] Consider setting ‘automationName’ capability to ‘uiautomator2’ on Android >= 6, since UIAutomator framework is not maintained anymore by the OS vendor.
[BaseDriver] Using local app ‘C:\appium\APK\SmartBreathe _Build_NO_16-190104.apk’
[debug] [AndroidDriver] Checking whether app is actually present
[AndroidDriver] Starting Android session
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB wait-for-device’
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell echo ping’
[debug] [AndroidDriver] Pushing settings apk to device…
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell dumpsys package io.appium.settings’
[debug] [ADB] ‘io.appium.settings’ is installed
[debug] [ADB] Getting package info for ‘io.appium.settings’
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell dumpsys package io.appium.settings’
[ADB] Checking whether aapt is present
[ADB] Using aapt.exe from C:\appium\android-sdk\build-tools\28.0.3\aapt.exe
[debug] [ADB] The version name of the installed ‘io.appium.settings’ is greater or equal to the application version name (‘2.12.1’ >= ‘2.12.1’)
[debug] [ADB] There is no need to install/upgrade ‘C:\Users\SIDDHI WORLD\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk’
[debug] [ADB] Getting IDs of all ‘io.appium.settings’ processes
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell ‘pidof --help > /dev/null; echo $?’’
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell pidof io.appium.settings’
[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions.
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell appops set io.appium.settings android:mock_location allow’
[debug] [Logcat] Starting logcat capture
[ADB] Getting device platform version
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell getprop ro.build.version.release’
[debug] [ADB] Current device property ‘ro.build.version.release’: 6.0
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell wm size’
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell getprop ro.product.model’
[debug] [ADB] Current device property ‘ro.product.model’: Lenovo A7010a48
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell getprop ro.product.manufacturer’
[debug] [ADB] Current device property ‘ro.product.manufacturer’: LENOVO
[debug] [AndroidDriver] Parsing package and activity from app manifest
[ADB] Using the alternative activity name detection method because of: Could not find apkanalyzer.bat in C:\appium\android-sdk\platform-tools\apkanalyzer.bat,C:\appium\android-sdk\emulator\apkanalyzer.bat,C:\appium\android-sdk\tools\apkanalyzer.bat,C:\appium\android-sdk\tools\bin\apkanalyzer.bat,C:\appium\android-sdk\build-tools\28.0.3\apkanalyzer.bat,C:\appium\android-sdk\build-tools\28.0.2\apkanalyzer.bat,C:\appium\android-sdk\build-tools\28.0.1\apkanalyzer.bat,C:\appium\android-sdk\build-tools\28.0.0\apkanalyzer.bat. Do you have the Android SDK installed at ‘C:\appium\android-sdk’?
[ADB] Extracting package and launch activity from manifest
[ADB] Package name: ‘app.json.com.myjson’
[ADB] Main activity name: ‘app.json.com.myjson.SplashPageActivity’
[debug] [AndroidDriver] Parsed package and activity are: app.json.com.myjson/app.json.com.myjson.SplashPageActivity
[debug] [ADB] Getting install status for app.json.com.myjson
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell dumpsys package app.json.com.myjson’
[debug] [ADB] ‘app.json.com.myjson’ is installed
[debug] [ADB] Getting install status for app.json.com.myjson
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell dumpsys package app.json.com.myjson’
[debug] [ADB] ‘app.json.com.myjson’ is installed
[debug] [ADB] Getting package info for ‘app.json.com.myjson’
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell dumpsys package app.json.com.myjson’
[debug] [ADB] The version name of the installed ‘app.json.com.myjson’ is greater or equal to the application version name (‘1.0.0’ >= ‘1.0.0’)
[debug] [ADB] There is no need to install/upgrade ‘C:\appium\APK\SmartBreathe _Build_NO_16-190104.apk’
[AndroidDriver] Performing fast reset on ‘app.json.com.myjson’
[debug] [ADB] Getting install status for app.json.com.myjson
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell dumpsys package app.json.com.myjson’
[debug] [ADB] ‘app.json.com.myjson’ is installed
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell am force-stop app.json.com.myjson’
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell pm clear app.json.com.myjson’
[debug] [AndroidDriver] Performed fast reset on the installed ‘app.json.com.myjson’ application (stop and clear)
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell rm -rf /data/local/tmp/strings.json’
[debug] [AndroidDriver] Extracting strings from apk
[debug] [AndroidDriver] C:\appium\APK\SmartBreathe _Build_NO_16-190104.apk
[debug] [AndroidDriver] null
[debug] [AndroidDriver] C:\Users\SIDDHI~1\AppData\Local\Temp\app.json.com.myjson
[debug] [ADB] Extracting strings from for language: default
[ADB] Successfully extracted 85 strings from ‘C:\appium\APK\SmartBreathe _Build_NO_16-190104.apk’ resources for ‘(default)’ configuration
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB push C:\Users\SIDDHI~1\AppData\Local\Temp\app.json.com.myjson\strings.json /data/local/tmp’
[debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB forward tcp:4724 tcp:4724’
[debug] [UiAutomator] Starting UiAutomator
[debug] [UiAutomator] Moving to state ‘starting’
[debug] [UiAutomator] Parsing uiautomator jar
[debug] [UiAutomator] Found jar name: ‘AppiumBootstrap.jar’
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB push ‘C:\Users\SIDDHI WORLD\AppData\Roaming\npm\node_modules\appium\node_modules\appium-android-driver\bootstrap\bin\AppiumBootstrap.jar’ /data/local/tmp/’
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting IDs of all ‘uiautomator’ processes
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell pidof uiautomator’
[debug] [ADB] Attempting to kill process 1
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell kill -0 1’
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell kill 1’
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell kill 1’
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell kill 1’
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell kill 1’
[ADB] Cannot kill process 1 in 1000 ms. Trying to force kill…
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell kill -9 1’
[debug] [ADB] Attempting to kill process 2
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell kill -0 2’
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell kill 2’
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell kill 2’
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell kill 2’
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell kill 2’
[ADB] Cannot kill process 2 in 1000 ms. Trying to force kill…
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell kill -9 2’
[debug] [ADB] Attempting to kill process 3
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell kill -0 3’
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell kill 3’
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell kill 3’
[Appium] Received SIGINT - shutting down
[Logcat] Logcat terminated with code 3221225786, signal null
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell kill 3’
[ADB] Cannot kill process 3 in 1000 ms. Trying to force kill…
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell kill -9 3’
[debug] [ADB] Attempting to kill process 7
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell kill -0 7’
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell kill 7’
[debug] [ADB] Running ‘C:\appium\android-sdk\platform-tools\adb.exe -P 5037 -s MVBQ5LYPUCTC85LB shell kill 7’
…