0% found this document useful (0 votes)
134 views12 pages

Appium Server Logs

The document provides a log of the Appium v1.22.3 server starting and creating a new session for an Android application using the UiAutomator2 driver. It includes details about the capabilities set for the session, warnings about deprecated features, and information about the connected emulator device. Additionally, it outlines the process of setting up the Appium settings and the UiAutomator2 server for testing the specified application.

Uploaded by

Arun Vastrad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
134 views12 pages

Appium Server Logs

The document provides a log of the Appium v1.22.3 server starting and creating a new session for an Android application using the UiAutomator2 driver. It includes details about the capabilities set for the session, warnings about deprecated features, and information about the connected emulator device. Additionally, it outlines the process of setting up the Appium settings and the UiAutomator2 server for testing the specified application.

Uploaded by

Arun Vastrad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

[info] #[35m[Appium]#[39m Welcome to Appium v1.22.

3
[info] #[35m[Appium]#[39m Non-default server args:
[info] #[35m[Appium]#[39m relaxedSecurityEnabled: true
[info] #[35m[Appium]#[39m allowInsecure: {
[info] #[35m[Appium]#[39m }
[info] #[35m[Appium]#[39m denyInsecure: {
[info] #[35m[Appium]#[39m }
[info] #[35m[Appium]#[39m Appium REST http interface listener started on
0.0.0.0:4723[info] #[35m[HTTP]#[39m #[37m-->#[39m #[37mPOST#[39m
#[37m/wd/hub/session#[39m
[info] #[35m[HTTP]#[39m #[90m{"capabilities":{"alwaysMatch":{"appium:app":"C:\\
apk\\app-release.apk","appium:deviceName":"emulator-
5554","platformName":"Android","appium:ensureWebviewsHavePages":true,"appium:native
WebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard
":true},"firstMatch":[{}]},"desiredCapabilities":{"appium:app":"C:\\apk\\app-
release.apk","appium:deviceName":"emulator-
5554","platformName":"Android","appium:ensureWebviewsHavePages":true,"appium:native
WebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard
":true}}#[39m
[debug] #[35m[W3C]#[39m Calling AppiumDriver.createSession() with args:
[{"appium:app":"C:\\apk\\app-release.apk","appium:deviceName":"emulator-
5554","platformName":"Android","appium:ensureWebviewsHavePages":true,"appium:native
WebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard
":true},null,{"alwaysMatch":{"appium:app":"C:\\apk\\app-
release.apk","appium:deviceName":"emulator-
5554","platformName":"Android","appium:ensureWebviewsHavePages":true,"appium:native
WebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard
":true},"firstMatch":[{}]}]
[debug] #[35m[BaseDriver]#[39m Event 'newSessionRequested' logged at 1709035347648
(17:32:27 GMT+0530 (India Standard Time))
[warn] #[35m[Appium]#[39m
[warn] #[35m[Appium]#[39m
======================================================================
[warn] #[35m[Appium]#[39m DEPRECATION WARNING:
[warn] #[35m[Appium]#[39m
[warn] #[35m[Appium]#[39m The 'automationName' capability was not provided in the
desired
[warn] #[35m[Appium]#[39m capabilities for this Android session
[warn] #[35m[Appium]#[39m
[warn] #[35m[Appium]#[39m Setting 'automationName=UiAutomator2' by default and
using the
[warn] #[35m[Appium]#[39m UiAutomator2 Driver
[warn] #[35m[Appium]#[39m
[warn] #[35m[Appium]#[39m The next major version of Appium (2.x) will **require**
the
[warn] #[35m[Appium]#[39m 'automationName' capability to be set for all sessions
on all
[warn] #[35m[Appium]#[39m platforms
[warn] #[35m[Appium]#[39m
[warn] #[35m[Appium]#[39m In previous versions (Appium <= 1.13.x), the default
was
[warn] #[35m[Appium]#[39m 'automationName=UiAutomator1'
[warn] #[35m[Appium]#[39m
[warn] #[35m[Appium]#[39m If you wish to use that automation instead of
UiAutomator2, please
[warn] #[35m[Appium]#[39m add 'automationName=UiAutomator1' to your desired
capabilities
[warn] #[35m[Appium]#[39m
[warn] #[35m[Appium]#[39m For more information about drivers, please visit
[warn] #[35m[Appium]#[39m http://appium.io/docs/en/about-appium/intro/ and
explore the
[warn] #[35m[Appium]#[39m 'Drivers' menu
[warn] #[35m[Appium]#[39m
[warn] #[35m[Appium]#[39m
======================================================================
[warn] #[35m[Appium]#[39m
[info] #[35m[Appium]#[39m Appium v1.22.3 creating new AndroidUiautomator2Driver
(v1.70.1) session
[info] #[35m[Appium]#[39m Applying relaxed security to 'AndroidUiautomator2Driver'
as per server command line argument. All insecure features will be enabled unless
explicitly disabled by --deny-insecure
[debug] #[35m[BaseDriver]#[39m W3C capabilities and MJSONWP desired capabilities
were provided
[debug] #[35m[BaseDriver]#[39m Creating session with W3C capabilities: {
[debug] #[35m[BaseDriver]#[39m "alwaysMatch": {
[debug] #[35m[BaseDriver]#[39m "platformName": "Android",
[debug] #[35m[BaseDriver]#[39m "appium:app": "C:\\apk\\app-release.apk",
[debug] #[35m[BaseDriver]#[39m "appium:deviceName": "emulator-5554",
[debug] #[35m[BaseDriver]#[39m "appium:ensureWebviewsHavePages": true,
[debug] #[35m[BaseDriver]#[39m "appium:nativeWebScreenshot": true,
[debug] #[35m[BaseDriver]#[39m "appium:newCommandTimeout": 3600,
[debug] #[35m[BaseDriver]#[39m "appium:connectHardwareKeyboard": true
[debug] #[35m[BaseDriver]#[39m },
[debug] #[35m[BaseDriver]#[39m "firstMatch": [
[debug] #[35m[BaseDriver]#[39m {}
[debug] #[35m[BaseDriver]#[39m ]
[debug] #[35m[BaseDriver]#[39m }
[warn] #[35m[BaseDriver]#[39m The following capabilities were provided, but are not
recognized by Appium:
[warn] #[35m[BaseDriver]#[39m connectHardwareKeyboard
[info] #[35m[BaseDriver]#[39m Session created with session id: de83b4ef-6b19-4da9-
be81-a58b2fc6973d[info] #[35m[ADB]#[39m Found 3 'build-tools' folders under 'C:\
Users\a005376\AppData\Local\Android\Sdk' (newest first):
[info] #[35m[ADB]#[39m
C:/Users/a005376/AppData/Local/Android/Sdk/build-tools/35.0.0-rc1
[info] #[35m[ADB]#[39m
C:/Users/a005376/AppData/Local/Android/Sdk/build-tools/34.0.0
[info] #[35m[ADB]#[39m
C:/Users/a005376/AppData/Local/Android/Sdk/build-tools/33.0.1
[info] #[35m[ADB]#[39m Using 'adb.exe' from 'C:\Users\a005376\AppData\Local\
Android\Sdk\platform-tools\adb.exe'
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 start-server'
[info] #[35m[AndroidDriver]#[39m Retrieving device list
[debug] #[35m[ADB]#[39m Trying to find a connected android device
[debug] #[35m[ADB]#[39m Getting connected devices
[debug] #[35m[ADB]#[39m Connected devices: [{"udid":"emulator-
5554","state":"device"}]
[info] #[35m[AndroidDriver]#[39m Using device: emulator-5554
[info] #[35m[ADB]#[39m Using 'adb.exe' from 'C:\Users\a005376\AppData\Local\
Android\Sdk\platform-tools\adb.exe'
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 start-server'[debug] #[35m[ADB]#[39m Setting device
id to emulator-5554
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk'
[debug] #[35m[ADB]#[39m Current device property 'ro.build.version.sdk': 30
[info] #[35m[ADB]#[39m Getting device platform version
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop
ro.build.version.release'[debug] #[35m[ADB]#[39m Current device property
'ro.build.version.release': 11
[debug] #[35m[ADB]#[39m Device API level: 30
[info] #[35m[UiAutomator2]#[39m Relaxing hidden api policy
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell 'settings put global
hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps
1;settings put global hidden_api_policy 1''[debug] #[35m[AndroidDriver]#[39m
Parsing package and activity from app manifest
[info] #[35m[ADB]#[39m Package name: 'com.erp_school'
[info] #[35m[ADB]#[39m Main activity name: 'com.erp_school.MainActivity'
[debug] #[35m[AndroidDriver]#[39m Parsed package and activity are:
com.erp_school/com.erp_school.MainActivity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 wait-for-device'
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell echo ping'[debug]
#[35m[AndroidDriver]#[39m Pushing settings apk to device...
[debug] #[35m[ADB]#[39m Getting install status for io.appium.settings
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package
io.appium.settings'[debug] #[35m[ADB]#[39m 'io.appium.settings' is installed
[debug] #[35m[ADB]#[39m Getting package info for 'io.appium.settings'
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package
io.appium.settings'[debug] #[35m[ADB]#[39m The version name of the installed
'io.appium.settings' is greater or equal to the application version name ('3.4.0'
>= '3.4.0')
[debug] #[35m[ADB]#[39m There is no need to install/upgrade 'C:\Users\a005376\
AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\
node_modules\io.appium.settings\apks\settings_apk-debug.apk'
[debug] #[35m[ADB]#[39m Getting IDs of all 'io.appium.settings' processes
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell 'pgrep --help; echo $?''
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell pgrep -f \(\[\[:blank:\]\]\|\
^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)'[debug] #[35m[ADB]#[39m Getting IDs
of all 'io.appium.settings' processes
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell pgrep -f \(\[\[:blank:\]\]\|\
^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)'[debug] #[35m[ADB]#[39m Starting
Appium Settings app
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell am start -n
io.appium.settings/.Settings -a android.intent.action.MAIN -c
android.intent.category.LAUNCHER'[debug] #[35m[ADB]#[39m Getting IDs of all
'io.appium.settings' processes
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell pgrep -f \(\[\[:blank:\]\]\|\
^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)'[debug] #[35m[ADB]#[39m Getting IDs
of all 'io.appium.settings' processes
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell pgrep -f \(\[\[:blank:\]\]\|\
^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)'[debug] #[35m[Logcat]#[39m Starting
logs capture with command: C:\\Users\\a005376\\AppData\\Local\\Android\\Sdk\\
platform-tools\\adb.exe -P 5037 -s emulator-5554 logcat -v threadtime[debug]
#[35m[UiAutomator2]#[39m Forwarding UiAutomator2 Server port 6790 to local port
8200[debug] #[35m[ADB]#[39m Forwarding system: 8200 to device: 6790
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 forward tcp:8200 tcp:6790'
[debug] #[35m[ADB]#[39m Getting install status for io.appium.uiautomator2.server
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package
io.appium.uiautomator2.server'[debug] #[35m[ADB]#[39m
'io.appium.uiautomator2.server' is installed
[debug] #[35m[ADB]#[39m Getting package info for 'io.appium.uiautomator2.server'
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package
io.appium.uiautomator2.server'[debug] #[35m[ADB]#[39m The version name of the
installed 'io.appium.uiautomator2.server' is greater or equal to the application
version name ('4.27.0' >= '4.27.0')
[debug] #[35m[UiAutomator2]#[39m io.appium.uiautomator2.server installation state:
sameVersionInstalled
[debug] #[35m[ADB]#[39m Checking app cert for C:\Users\a005376\AppData\Local\
Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\appium-
uiautomator2-server\apks\appium-uiautomator2-server-v4.27.0.apk
[info] #[35m[ADB]#[39m Using 'apksigner.jar' from 'C:\Users\a005376\AppData\Local\
Android\Sdk\build-tools\35.0.0-rc1\lib\apksigner.jar'
[debug] #[35m[ADB]#[39m Starting apksigner: 'C:\\Program Files\\Java\\jdk-11\\bin\\
java.exe' -Xmx1024M -Xss1m -jar C:\\Users\\a005376\\AppData\\Local\\Android\\Sdk\\
build-tools\\35.0.0-rc1\\lib\\apksigner.jar verify --print-certs 'C:\\Users\\
a005376\\AppData\\Local\\Programs\\Appium Server GUI\\resources\\app\\
node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-
uiautomator2-server-v4.27.0.apk'[debug] #[35m[ADB]#[39m apksigner stdout: Signer #1
certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android,
O=Android, L=Mountain View, ST=California, C=US
[debug] #[35m[ADB]#[39m Signer #1 certificate SHA-256 digest:
a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] #[35m[ADB]#[39m Signer #1 certificate SHA-1 digest:
61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] #[35m[ADB]#[39m Signer #1 certificate MD5 digest:
e89b158e4bcf988ebd09eb83f5378e87
[debug] #[35m[ADB]#[39m
[debug] #[35m[ADB]#[39m sha256 hash did match for 'appium-uiautomator2-server-
v4.27.0.apk'
[info] #[35m[ADB]#[39m 'C:\Users\a005376\AppData\Local\Programs\Appium Server GUI\
resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\
appium-uiautomator2-server-v4.27.0.apk' is signed with the default certificate
[debug] #[35m[ADB]#[39m Getting install status for
io.appium.uiautomator2.server.test
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package
io.appium.uiautomator2.server.test'[debug] #[35m[ADB]#[39m
'io.appium.uiautomator2.server.test' is installed
[debug] #[35m[ADB]#[39m Checking app cert for C:\Users\a005376\AppData\Local\
Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\appium-
uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
[debug] #[35m[ADB]#[39m Starting apksigner: 'C:\\Program Files\\Java\\jdk-11\\bin\\
java.exe' -Xmx1024M -Xss1m -jar C:\\Users\\a005376\\AppData\\Local\\Android\\Sdk\\
build-tools\\35.0.0-rc1\\lib\\apksigner.jar verify --print-certs 'C:\\Users\\
a005376\\AppData\\Local\\Programs\\Appium Server GUI\\resources\\app\\
node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-
uiautomator2-server-debug-androidTest.apk'[debug] #[35m[ADB]#[39m apksigner stdout:
Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android,
O=Android, L=Mountain View, ST=California, C=US
[debug] #[35m[ADB]#[39m Signer #1 certificate SHA-256 digest:
a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] #[35m[ADB]#[39m Signer #1 certificate SHA-1 digest:
61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] #[35m[ADB]#[39m Signer #1 certificate MD5 digest:
e89b158e4bcf988ebd09eb83f5378e87
[debug] #[35m[ADB]#[39m
[debug] #[35m[ADB]#[39m sha256 hash did match for 'appium-uiautomator2-server-
debug-androidTest.apk'
[info] #[35m[ADB]#[39m 'C:\Users\a005376\AppData\Local\Programs\Appium Server GUI\
resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\
appium-uiautomator2-server-debug-androidTest.apk' is signed with the default
certificate
[info] #[35m[UiAutomator2]#[39m Server packages are not going to be (re)installed
[debug] #[35m[UiAutomator2]#[39m Waiting up to 30000ms for services to be available
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm list instrumentation'
[debug] #[35m[UiAutomator2]#[39m Instrumentation target
'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is
available
[info] #[35m[ADB]#[39m Adding packages
["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.serve
r.test"] to Doze whitelist
[debug] #[35m[ADB]#[39m Got the following command chunks to execute:
[["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidl
e","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whiteli
st","+io.appium.uiautomator2.server.test",";"]]
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys deviceidle whitelist
+io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ;
dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'[debug]
#[35m[ADB]#[39m Checking app cert for C:\apk\app-release.apk[debug] #[35m[ADB]#[39m
Starting apksigner: 'C:\\Program Files\\Java\\jdk-11\\bin\\java.exe' -Xmx1024M -
Xss1m -jar C:\\Users\\a005376\\AppData\\Local\\Android\\Sdk\\build-tools\\35.0.0-
rc1\\lib\\apksigner.jar verify --print-certs C:\\apk\\app-release.apk[debug]
#[35m[ADB]#[39m apksigner stdout: Signer #1 certificate DN: CN=mbd achemie, OU=mbd
group, O=mbdgroup, L=delhi, ST=delhi, C=IN
[debug] #[35m[ADB]#[39m Signer #1 certificate SHA-256 digest:
f5b2b6c7be0aebd2e6236992b20d20be3a8073bece6c208c95b84be6cd2f2c45
[debug] #[35m[ADB]#[39m Signer #1 certificate SHA-1 digest:
9e2dfc9295913e62ac08fe2afc7e9da646781a83
[debug] #[35m[ADB]#[39m Signer #1 certificate MD5 digest:
148ff5ebba50af5465d9004f3134104a
[debug] #[35m[ADB]#[39m
[info] #[35m[ADB]#[39m 'C:\apk\app-release.apk' is signed with a non-default
certificate
[debug] #[35m[ADB]#[39m Getting install status for com.erp_school
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package
com.erp_school'
[debug] #[35m[ADB]#[39m 'com.erp_school' is not installed
[debug] #[35m[ADB]#[39m App 'C:\apk\app-release.apk' is not installed
[debug] #[35m[ADB]#[39m Installing 'C:\apk\app-release.apk'
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 help'[debug] #[35m[ADB]#[39m
Running 'C:\Users\a005376\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037
-s emulator-5554 features'
[info] #[35m[ADB]#[39m The application at 'C:\apk\app-release.apk' will not be
cached, because the device under test has confirmed the support of streamed
installs
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 install C:\apk\app-
release.apk'[info] #[35m[ADB]#[39m The installation of 'app-release.apk' took
8629ms
[debug] #[35m[ADB]#[39m Install command stdout: Performing Streamed Install
[debug] #[35m[ADB]#[39m Success
[debug] #[35m[UiAutomator2]#[39m Performing shallow cleanup of automation leftovers
[debug] #[35m[UiAutomator2]#[39m No obsolete sessions have been detected (socket
hang up)
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop
io.appium.uiautomator2.server.test'[info] #[35m[UiAutomator2]#[39m Starting
UIAutomator2 server 4.27.0
[info] #[35m[UiAutomator2]#[39m Using UIAutomator2 server from 'C:\Users\a005376\
AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\
node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-
v4.27.0.apk' and test from 'C:\Users\a005376\AppData\Local\Programs\Appium Server
GUI\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\
appium-uiautomator2-server-debug-androidTest.apk'
[info] #[35m[UiAutomator2]#[39m Waiting up to 30000ms for UiAutomator2 to be
online...
[debug] #[35m[ADB]#[39m Creating ADB subprocess with args: ["-P",5037,"-
s","emulator-5554","shell","am","instrument","-w","-
e","disableAnalytics",true,"io.appium.uiautomator2.server.test/
androidx.test.runner.AndroidJUnitRunner"]
[debug] #[35m[WD Proxy]#[39m Matched '/status' to command name 'getStatus'
[debug] #[35m[WD Proxy]#[39m Proxying [GET /status] to [GET
http://127.0.0.1:8200/wd/hub/status] with no body
[info] #[35m[WD Proxy]#[39m socket hang up[debug] #[35m[WD Proxy]#[39m Matched
'/status' to command name 'getStatus'
[debug] #[35m[WD Proxy]#[39m Proxying [GET /status] to [GET
http://127.0.0.1:8200/wd/hub/status] with no body
[info] #[35m[WD Proxy]#[39m socket hang up[debug] #[35m[WD Proxy]#[39m Matched
'/status' to command name 'getStatus'
[debug] #[35m[WD Proxy]#[39m Proxying [GET /status] to [GET
http://127.0.0.1:8200/wd/hub/status] with no body
[info] #[35m[WD Proxy]#[39m socket hang up[debug] #[35m[WD Proxy]#[39m Matched
'/status' to command name 'getStatus'
[debug] #[35m[WD Proxy]#[39m Proxying [GET /status] to [GET
http://127.0.0.1:8200/wd/hub/status] with no body
[info] #[35m[WD Proxy]#[39m socket hang up
[debug] #[35m[Instrumentation]#[39m
io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] #[35m[WD
Proxy]#[39m Matched '/status' to command name 'getStatus'
[debug] #[35m[WD Proxy]#[39m Proxying [GET /status] to [GET
http://127.0.0.1:8200/wd/hub/status] with no body
[info] #[35m[WD Proxy]#[39m socket hang up[debug] #[35m[WD Proxy]#[39m Matched
'/status' to command name 'getStatus'
[debug] #[35m[WD Proxy]#[39m Proxying [GET /status] to [GET
http://127.0.0.1:8200/wd/hub/status] with no body[debug] #[35m[WD Proxy]#[39m Got
response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2
Server is ready to accept commands","ready":true}}
[debug] #[35m[UiAutomator2]#[39m The initialization of the instrumentation process
took 5344ms
[debug] #[35m[WD Proxy]#[39m Matched '/session' to command name 'createSession'
[debug] #[35m[WD Proxy]#[39m Proxying [POST /session] to [POST
http://127.0.0.1:8200/wd/hub/session] with body: {"capabilities":{"firstMatch":
[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEn
abled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContex
tEnabled":false,"warnings":{},"desired":{"platformName":"Android","app":"C:\\apk\\
app-release.apk","deviceName":"emulator-
5554","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout"
:3600,"connectHardwareKeyboard":true},"platformName":"Android","app":"C:\\apk\\app-
release.apk","deviceName":"emulator-
5554","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout"
:3600,"connectHardwareKeyboard":true,"deviceUDID":"emulator-
5554","appPackage":"com.erp_school"}],"alwaysMatch":{}}}
[debug] #[35m[WD Proxy]#[39m Got response with status 200: {"sessionId":"b46ffd77-
4522-4694-92dc-ec2450745564","value":{"capabilities":{"firstMatch":
[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEn
abled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContex
tEnabled":false,"warnings":{},"desired":{"platformName":"Android","app":"C:\\apk\\
app-release.apk","deviceName":"emulator-
5554","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout"
:3600,"connectHardwareKeyboard":true},"platformName":"Android","app":"C:\\apk\\app-
release.apk","deviceName":"emulator-
5554","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout"
:3600,"connectHardwareKeyboard":true,"deviceUDID":"emulator-
5554","appPackage":"com.erp_school"}],"alwaysMatch":{}},"sessionId":"b46ffd77-4522-
4694-92dc-ec2450745564"}}
[info] #[35m[WD Proxy]#[39m Determined the downstream protocol as 'W3C'
[debug] #[35m[WD Proxy]#[39m Proxying [GET /appium/device/info] to [GET
http://127.0.0.1:8200/wd/hub/session/b46ffd77-4522-4694-92dc-ec2450745564/appium/
device/info] with no body
[debug] #[35m[WD Proxy]#[39m Got response with status 200: {"sessionId":"b46ffd77-
4522-4694-92dc-ec2450745564","value":
{"androidId":"c513f8f2fc37d6be","apiVersion":"30","bluetooth":
{"state":"ON"},"brand":"google","carrierName":"Android","displayDensity":420,"local
e":"en_US","manufacturer":"Google","model":"sdk_gphone_x86","networks":
[{"capabilities":
{"SSID":null,"linkDownBandwidthKbps":13062,"linkUpstreamBandwidthKbps":13062,"netwo
rkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_
NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDAT
ED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTE
D,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-
30,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","i
sAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"C
ONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"},{"capabilities":
{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"netwo
rkCapabilities...
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window'[debug]
#[35m[AndroidDriver]#[39m Screen is locked, trying to unlock
[warn] #[35m[AndroidDriver]#[39m Using app unlock, this is going to be deprecated!
[info] #[35m[AndroidDriver]#[39m Unlocking screen
[info] #[35m[AndroidDriver]#[39m Launching .Unlock
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell am start -n
io.appium.settings/.Unlock -c android.intent.category.LAUNCHER -a
android.intent.action.MAIN -f 0x10200000'[info] #[35m[UiAutomator2]#[39m Starting
'com.erp_school/com.erp_school.MainActivity and waiting for
'com.erp_school/com.erp_school.MainActivity'
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell am start -W -n
com.erp_school/com.erp_school.MainActivity -S -a android.intent.action.MAIN -c
android.intent.category.LAUNCHER -f 0x10200000'[debug] #[35m[ADB]#[39m Waiting up
to 20000ms for activity matching pkg: 'com.erp_school' and activity:
'com.erp_school.MainActivity' to be focused
[debug] #[35m[ADB]#[39m Possible activities, to be checked:
'com.erp_school.MainActivity', 'com.erp_school.com.erp_school.MainActivity'
[debug] #[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window
displays'[debug] #[35m[ADB]#[39m Found package:
'com.google.android.apps.nexuslauncher' and fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window displays'
[debug] #[35m[ADB]#[39m Found package: 'com.google.android.apps.nexuslauncher' and
fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window
displays'[debug] #[35m[ADB]#[39m Found package:
'com.google.android.apps.nexuslauncher' and fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window
displays'[debug] #[35m[ADB]#[39m Found package:
'com.google.android.apps.nexuslauncher' and fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window displays'
[debug] #[35m[ADB]#[39m Found package: 'com.google.android.apps.nexuslauncher' and
fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window
displays'[debug] #[35m[ADB]#[39m Found package:
'com.google.android.apps.nexuslauncher' and fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window
displays'[debug] #[35m[ADB]#[39m Found package:
'com.google.android.apps.nexuslauncher' and fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window displays'
[debug] #[35m[ADB]#[39m Found package: 'com.google.android.apps.nexuslauncher' and
fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window
displays'[debug] #[35m[ADB]#[39m Found package:
'com.google.android.apps.nexuslauncher' and fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window
displays'[debug] #[35m[ADB]#[39m Found package:
'com.google.android.apps.nexuslauncher' and fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window displays'
[debug] #[35m[ADB]#[39m Found package: 'com.google.android.apps.nexuslauncher' and
fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window
displays'[debug] #[35m[ADB]#[39m Found package:
'com.google.android.apps.nexuslauncher' and fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window displays'
[debug] #[35m[ADB]#[39m Found package: 'com.google.android.apps.nexuslauncher' and
fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window
displays'[debug] #[35m[ADB]#[39m Found package:
'com.google.android.apps.nexuslauncher' and fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window
displays'[debug] #[35m[ADB]#[39m Found package:
'com.google.android.apps.nexuslauncher' and fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window displays'
[debug] #[35m[ADB]#[39m Found package: 'com.google.android.apps.nexuslauncher' and
fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window
displays'[debug] #[35m[ADB]#[39m Found package:
'com.google.android.apps.nexuslauncher' and fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window
displays'[debug] #[35m[ADB]#[39m Found package:
'com.google.android.apps.nexuslauncher' and fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window
displays'[debug] #[35m[ADB]#[39m Found package:
'com.google.android.apps.nexuslauncher' and fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window displays'
[debug] #[35m[ADB]#[39m Found package: 'com.google.android.apps.nexuslauncher' and
fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window
displays'[debug] #[35m[ADB]#[39m Found package:
'com.google.android.apps.nexuslauncher' and fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window
displays'[debug] #[35m[ADB]#[39m Found package:
'com.google.android.apps.nexuslauncher' and fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window displays'
[debug] #[35m[ADB]#[39m Found package: 'com.google.android.apps.nexuslauncher' and
fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window
displays'[debug] #[35m[ADB]#[39m Found package:
'com.google.android.apps.nexuslauncher' and fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window displays'
[debug] #[35m[ADB]#[39m Found package: 'com.google.android.apps.nexuslauncher' and
fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window
displays'[debug] #[35m[ADB]#[39m Found package:
'com.google.android.apps.nexuslauncher' and fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window
displays'[debug] #[35m[ADB]#[39m Found package:
'com.google.android.apps.nexuslauncher' and fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window displays'
[debug] #[35m[ADB]#[39m Found package: 'com.google.android.apps.nexuslauncher' and
fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window
displays'[debug] #[35m[ADB]#[39m Found package:
'com.google.android.apps.nexuslauncher' and fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.[debug]
#[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window
displays'[debug] #[35m[ADB]#[39m Found package:
'com.google.android.apps.nexuslauncher' and fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.
[debug] #[35m[ADB]#[39m Getting focused package and activity
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window displays'
[debug] #[35m[ADB]#[39m Found package: 'com.google.android.apps.nexuslauncher' and
fully qualified activity name :
'com.google.android.apps.nexuslauncher.NexusLauncherActivity'
[debug] #[35m[ADB]#[39m Incorrect package and activity. Retrying.
[debug] #[35m[UiAutomator2]#[39m Deleting UiAutomator2 session
[debug] #[35m[UiAutomator2]#[39m Deleting UiAutomator2 server session
[debug] #[35m[WD Proxy]#[39m Matched '/' to command name 'deleteSession'
[debug] #[35m[WD Proxy]#[39m Proxying [DELETE /] to [DELETE
http://127.0.0.1:8200/wd/hub/session/b46ffd77-4522-4694-92dc-ec2450745564] with no
body
[debug] #[35m[WD Proxy]#[39m Got response with status 200: {"sessionId":"b46ffd77-
4522-4694-92dc-ec2450745564","value":null}
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop
com.erp_school'[debug] #[35m[Logcat]#[39m Stopping logcat capture
[debug] #[35m[ADB]#[39m Removing forwarded port socket connection: 8200
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 forward --remove tcp:8200'
[info] #[35m[UiAutomator2]#[39m Restoring hidden api policy to the device default
configuration
[debug] #[35m[ADB]#[39m Running 'C:\Users\a005376\AppData\Local\Android\Sdk\
platform-tools\adb.exe -P 5037 -s emulator-5554 shell 'settings delete global
hidden_api_policy_pre_p_apps;settings delete global
hidden_api_policy_p_apps;settings delete global hidden_api_policy''[debug]
#[35m[BaseDriver]#[39m Event 'newSessionStarted' logged at 1709035399151 (17:33:19
GMT+0530 (India Standard Time))
[debug] #[35m[W3C]#[39m Encountered internal error running command: Error: Cannot
start the 'com.erp_school' application. Visit
https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/
android/activity-startup.md for troubleshooting. Original error:
'com.erp_school.MainActivity' or 'com.erp_school.com.erp_school.MainActivity' never
started. Visit https://github.com/appium/appium/blob/master/docs/en/writing-
running-appium/android/activity-startup.md for troubleshooting
[debug] #[35m[W3C]#[39m at ADB.startApp (C:\Users\a005376\AppData\Local\
Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\appium-
adb\lib\tools\apk-utils.js:179:11)
[debug] #[35m[W3C]#[39m at AndroidUiautomator2Driver.ensureAppStarts (C:\Users\
a005376\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\
node_modules\appium-uiautomator2-driver\lib\driver.js:564:7)
[debug] #[35m[W3C]#[39m at AndroidUiautomator2Driver.startUiAutomator2Session
(C:\Users\a005376\AppData\Local\Programs\Appium Server GUI\resources\app\
node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver.js:431:7)
[debug] #[35m[W3C]#[39m at AndroidUiautomator2Driver.createSession (C:\Users\
a005376\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\
node_modules\appium-uiautomator2-driver\lib\driver.js:229:7)
[debug] #[35m[W3C]#[39m at AppiumDriver.createSession (C:\Users\a005376\
AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\lib\
appium.js:387:35)
[info] #[35m[HTTP]#[39m #[37m<-- POST /wd/hub/session #[39m#[31m500#[39m #[90m51589
ms - 1473#[39m
[info] #[35m[HTTP]#[39m #[90m#[39m[debug] #[35m[Instrumentation]#[39m .
[debug] #[35m[Instrumentation]#[39m Time: 26.343
[debug] #[35m[Instrumentation]#[39m
[debug] #[35m[Instrumentation]#[39m OK (1 test)[debug] #[35m[Instrumentation]#[39m
The process has exited with code 0

You might also like