Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"] [ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage' [ADB] Incorrect package and activity. Retrying. #660 #32

Closed
sunil-chayagol opened this issue Apr 10, 2018 · 1 comment

Comments

@sunil-chayagol
Copy link

i am facing this issue when i try to run the apk in appium. the activity name is splashscreen .but it is trying to get launchpage as the activity name. please check
Below is the desired capabalities
{
"platformName": "Android",
"platformVersion": "7.0",
"automationName": "uiautomator2",
"app": "/Users/sunil/apk/ntj.apk",
"deviceName": "9886335034414d584e",
"noReset": true,
"appActivity": "za.co.venueengage.newtownjunction.ui.splashscreen.SplashScreen"
}
below are the logs

[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Error: Error occured while starting App. Original error: 'za.co.venueengage.newtownjunction.ui.splashscreen.SplashScreen' never started
at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/logging.js:69:13)
at ADB.callee$0$0$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-adb/lib/tools/apk-utils.js:101:9)
at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js💯21)
at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at
Error: Error occured while starting App. Original error: 'za.co.venueengage.newtownjunction.ui.splashscreen.SplashScreen' never started
at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/logging.js:69:13)
at ADB.callee$0$0$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-adb/lib/tools/apk-utils.js:101:9)
at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js💯21)
at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at
[UiAutomator2] Deleting UiAutomator2 session
[UiAutomator2] Deleting UiAutomator2 server session
[JSONWP Proxy] Proxying [DELETE /] to [DELETE http://localhost:8200/wd/hub/session/3c52dadf-2b0d-4fdc-b67b-8da8a911ac15] with no body
[JSONWP Proxy] Got response with status 200: "{"sessionId":"3c52dadf-2b0d-4fdc-b67b-8da8a911ac15","status":0,"value":"Session deleted"}"
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","am","force-stop","za.co.venueengage.newtownjunction"]
[UiAutomator2] [UIAutomator2] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:.
[UiAutomator2] [UIAutomator2] Time: 26.035
[UiAutomator2] [UIAutomator2] OK (1 test)
[Logcat] Stopping logcat capture
[ADB] Removing forwarded port socket connection: 8200
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","forward","--remove","tcp:8200"]
[MJSONWP] Encountered internal error running command: Error: Error occured while starting App. Original error: 'za.co.venueengage.newtownjunction.ui.splashscreen.SplashScreen' never started
at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/logging.js:69:13)
at ADB.callee$0$0$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-adb/lib/tools/apk-utils.js:101:9)
at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js💯21)
at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at
[HTTP] <-- POST /wd/hub/session 500 47104 ms - 265
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"Android","noReset":true,"app":"/Users/sunil/apk/ntj.apk","automationName":"uiautomator2","platformVersion":"7.0","appActivity":"za.co.venueengage.newtownjunction.ui.splashscreen.SplashScreen","deviceName":"9886335034414d584e"},"capabilities":{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android"}}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","noReset":true,"app":"/Users/sunil/apk/ntj.apk","automationName":"uiautomator2","platformVersion":"7.0","appActivity":"za.co.venueengage.newtownjunction.ui.splashscreen.SplashScreen","deviceName":"9886335034414d584e"},null,{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android"}}]
[BaseDriver] Event 'newSessionRequested' logged at 1523370991321 (20:06:31 GMT+0530 (IST))
[Appium] Merged W3C capabilities {"firstMatch":[{}],"alwaysMatch":{"platformName... into desiredCapabilities object {"platformName":"Android","noReset":true,"app":...
[Appium] Creating new AndroidUiautomator2Driver (v0.11.0) session
[Appium] Capabilities:
[Appium] platformName: Android
[Appium] noReset: true
[Appium] app: /Users/sunil/apk/ntj.apk
[Appium] automationName: uiautomator2
[Appium] platformVersion: 7.0
[Appium] appActivity: za.co.venueengage.newtownjunction.ui.splashscreen.SplashScreen
[Appium] deviceName: 9886335034414d584e
[BaseDriver] Session created with session id: 9a252951-9e7d-4028-a5da-9378cc074657
[BaseDriver] Using local app '/Users/sunil/apk/ntj.apk'
[UiAutomator2] Checking whether app is actually present
[AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 9.0.4
[ADB] Checking whether adb is present
[AndroidDriver] Retrieving device list
[ADB] Trying to find a connected android device
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[AndroidDriver] Looking for a device with Android '7.0'
[ADB] Setting device id to 9886335034414d584e
[ADB] Getting device platform version
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","getprop","ro.build.version.release"]
[ADB] Current device property 'ro.build.version.release': 7.0
[AndroidDriver] Using device: 9886335034414d584e
[ADB] Checking whether adb is present
[ADB] Setting device id to 9886335034414d584e
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","getprop","ro.build.version.sdk"]
[ADB] Current device property 'ro.build.version.sdk': 24
[ADB] Device API level: 24
[AndroidDriver] Parsing package and activity from app manifest
[ADB] Checking whether aapt is present
[ADB] Extracting package and launch activity from manifest
[ADB] badging package: za.co.venueengage.newtownjunction
[ADB] badging act: za.co.venueengage.newtownjunction.ui.splashscreen.SplashScreen
[AndroidDriver] Parsed package and activity are: za.co.venueengage.newtownjunction/za.co.venueengage.newtownjunction.ui.splashscreen.SplashScreen
[ADB] Getting device platform version
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","getprop","ro.build.version.release"]
[ADB] Current device property 'ro.build.version.release': 7.0
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","wm","size"]
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","wm","density"]
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","getprop","ro.product.model"]
[ADB] Current device property 'ro.product.model': SM-G930F
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","getprop","ro.product.manufacturer"]
[ADB] Current device property 'ro.product.manufacturer': samsung
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","am","force-stop","io.appium.uiautomator2.server"]
[ADB] Checking whether aapt is present
[ADB] Getting install status for io.appium.uiautomator2.server
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","pm","list","packages","io.appium.uiautomator2.server"]
[ADB] App is installed
[ADB] Getting install status for io.appium.uiautomator2.server.test
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","pm","list","packages","io.appium.uiautomator2.server.test"]
[ADB] App is installed
[ADB] Getting package info for io.appium.uiautomator2.server
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","package","io.appium.uiautomator2.server"]
[UiAutomator2] Waiting up to 20000ms for instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' to be available
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","pm","list","instrumentation"]
[UiAutomator2] Instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' available
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","wait-for-device"]
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","echo","ping"]
[AndroidDriver] setDeviceLanguageCountry requires language or country.
[AndroidDriver] Got language: 'undefined' and country: 'undefined'
[Logcat] Starting logcat capture
[AndroidDriver] Pushing settings apk to device...
[ADB] Getting install status for io.appium.settings
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","pm","list","packages","io.appium.settings"]
[ADB] App is installed
[ADB] Getting package info for io.appium.settings
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","package","io.appium.settings"]
[ADB] Checking whether aapt is present
[ADB] The installed 'io.appium.settings' package does not require upgrade (5 >= 5)
[ADB] Device API level: 24
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","package","io.appium.settings"]
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","pm","dump","io.appium.settings"]
[ADB] Got the following command chunks to execute: pm,grant,io.appium.settings,android.permission.WRITE_SETTINGS,;,pm,grant,io.appium.settings,android.permission.ACCESS_MOCK_LOCATION,;
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","pm","grant","io.appium.settings","android.permission.WRITE_SETTINGS",";","pm","grant","io.appium.settings","android.permission.ACCESS_MOCK_LOCATION",";"]
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","pm","grant","io.appium.settings","android.permission.WRITE_SETTINGS",";","pm","grant","io.appium.settings","android.permission.ACCESS_MOCK_LOCATION",";"]
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","ps"]
[ADB] Device API level: 24
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","appops","set","io.appium.settings","android:mock_location","allow"]
[AndroidDriver] Pushing unlock helper app to device...
[ADB] Getting install status for io.appium.unlock
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","pm","list","packages","io.appium.unlock"]
[ADB] App is installed
[ADB] Getting package info for io.appium.unlock
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","package","io.appium.unlock"]
[ADB] Checking whether aapt is present
[ADB] The installed 'io.appium.unlock' package does not require upgrade (2 >= 2)
[UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8200
[ADB] Forwarding system: 8200 to device: 6790
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","forward","tcp:8200","tcp:6790"]
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window"]
[AndroidDriver] Screen already unlocked, doing nothing
[AndroidDriver] Extracting strings from apk /Users/sunil/apk/ntj.apk undefined /var/folders/dl/mkbk0c9j7254xwfyrc6pjh7m0000gn/T/za.co.venueengage.newtownjunction
[ADB] Extracting strings for language: default
[ADB] Device API level: 24
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","getprop","persist.sys.locale"]
[ADB] Current device property 'persist.sys.locale': en-GB
[ADB] No strings.xml for language 'en', getting default strings.xml
[AndroidDriver] Could not get strings, continuing anyway
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","echo"]
[ADB] Checking app cert for /Users/sunil/apk/ntj.apk
[ADB] Starting '/Users/sunil/Library/Android/sdk/build-tools/27.0.3/apksigner' with args 'verify,/Users/sunil/apk/ntj.apk'
[ADB] '/Users/sunil/apk/ntj.apk' is already signed.
[AndroidDriver] Remote apk path is /data/local/tmp/4a20575c777f26b3673364e178e61dd8.apk
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","ls","/data/local/tmp/4a20575c777f26b3673364e178e61dd8.apk"]
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","ls","/data/local/tmp/4a20575c777f26b3673364e178e61dd8.apk"]
[AndroidDriver] Checking if app is installed
[ADB] Getting install status for za.co.venueengage.newtownjunction
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","pm","list","packages","za.co.venueengage.newtownjunction"]
[ADB] App is installed
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","am","force-stop","io.appium.uiautomator2.server"]
[UiAutomator2] Starting uiautomator2 server v0.3.0
[UiAutomator2] Running command: 'adb -s 9886335034414d584e shell am instrument -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner'
[UiAutomator2] Waiting up to 20000ms for UiAutomator2 to be online...
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[JSONWP Proxy] Got response with status 200: "{"sessionId":"SESSIONID","status":0,"value":"Status Invoked"}"
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8200/wd/hub/session] with body: {"desiredCapabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","noReset":true,"app":"/Users/sunil/apk/ntj.apk","automationName":"uiautomator2","platformVersion":"7.0","appActivity":"za.co.venueengage.newtownjunction.ui.splashscreen.SplashScreen","deviceName":"9886335034414d584e"},"platformName":"Android","noReset":true,"app":"/Users/sunil/apk/ntj.apk","automationName":"uiautomator2","platformVersion":"7.0","appActivity":"za.co.venueengage.newtownjunction.ui.splashscreen.SplashScreen","deviceName":"9886335034414d584e","deviceUDID":"9886335034414d584e","deviceScreenSize":"1440x2560","deviceScreenDensity":640,"deviceModel":"SM-G930F","deviceManufacturer":"samsung","appPackage":"za.co.venueengage.newtownjunction"}}
[JSONWP Proxy] Got response with status 200: {"sessionId":"f48eb4ee-baaa-4874-bbef-c3a27b78113e","status":0,"value":"Created Session"}
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, 'za.co.venueengage.newtownjunction/za.co.venueengage.newtownjunction.ui.splashscreen.SplashScreen'. Starting it ourselves
[ADB] Device API level: 24
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","am","start","-W","-n","za.co.venueengage.newtownjunction/za.co.venueengage.newtownjunction.ui.splashscreen.SplashScreen","-S"]
[ADB] Waiting up to 20000ms for activity matching pkg: 'za.co.venueengage.newtownjunction' and activity: 'za.co.venueengage.newtownjunction.ui.splashscreen.SplashScreen' to be focused
[ADB] Possible activities, to be checked: 'za.co.venueengage.newtownjunction.ui.splashscreen.SplashScreen'
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Getting focused package and activity
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","dumpsys","window","windows"]
[ADB] Found package: 'za.co.venueengage.newtownjunction' and fully qualified activity name : 'za.co.venueengage.newtownjunction.ui.landing_page.LaunchPage'
[ADB] Incorrect package and activity. Retrying.
[ADB] Error: Error occured while starting App. Original error: 'za.co.venueengage.newtownjunction.ui.splashscreen.SplashScreen' never started
at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/logging.js:69:13)
at ADB.callee$0$0$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-adb/lib/tools/apk-utils.js:101:9)
at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js💯21)
at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at
Error: Error occured while starting App. Original error: 'za.co.venueengage.newtownjunction.ui.splashscreen.SplashScreen' never started
at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/logging.js:69:13)
at ADB.callee$0$0$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-adb/lib/tools/apk-utils.js:101:9)
at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js💯21)
at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at
[UiAutomator2] Deleting UiAutomator2 session
[UiAutomator2] Deleting UiAutomator2 server session
[JSONWP Proxy] Proxying [DELETE /] to [DELETE http://localhost:8200/wd/hub/session/f48eb4ee-baaa-4874-bbef-c3a27b78113e] with no body
[JSONWP Proxy] Got response with status 200: "{"sessionId":"f48eb4ee-baaa-4874-bbef-c3a27b78113e","status":0,"value":"Session deleted"}"
[ADB] Getting connected devices...
[ADB] 1 device(s) connected
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","shell","am","force-stop","za.co.venueengage.newtownjunction"]
[Logcat] Stopping logcat capture
[ADB] Removing forwarded port socket connection: 8200
[ADB] Running '/Users/sunil/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","9886335034414d584e","forward","--remove","tcp:8200"]
[MJSONWP] Encountered internal error running command: Error: Error occured while starting App. Original error: 'za.co.venueengage.newtownjunction.ui.splashscreen.SplashScreen' never started
at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/logging.js:69:13)
at ADB.callee$0$0$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-adb/lib/tools/apk-utils.js:101:9)
at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js💯21)
at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at
[HTTP] <-- POST /wd/hub/session 500 45345 ms - 265
[UiAutomator2] [UIAutomator2] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:.
[UiAutomator2] [UIAutomator2] Time: 26.033
[UiAutomator2] [UIAutomator2] OK (1 test)

@mykola-mokhnach
Copy link
Owner

Your problem has nothing to do to the Appium inspector.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants