Hi! I don’t have that error message anymore, I have no idea what I did either but there’s a new error message now. I’m not quite sure whether this error comes before or after the first error I have shown, but here it is. “The instrumentation process cannot be initialized…”
Below is the part of the message when the recorder is attempting to open the app:
e[35m[Appium]e[39m Welcome to Appium v1.13.0
e[35m[Appium]e[39m Non-default server args:
e[35m[Appium]e[39m port: 57926
e[35m[Appium]e[39m loglevel: info
e[35m[Appium]e[39m chromeDriverPort: 57927
e[35m[Appium]e[39m tmpDir: C:\Users\WEIZHO~1\AppData\Local\Temp\Katalon\Appium\Temp1564023781282
e[35m[Appium]e[39m Appium REST http interface listener started on 0.0.0.0:57926
e[35m[HTTP]e[39m e[37m–>e[39m e[37mGETe[39m e[37m/wd/hub/statuse[39m
e[35m[HTTP]e[39m e[90m{}e[39m
e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/status e[39me[32m200e[39m e[90m7 ms - 68e[39m
e[35m[HTTP]e[39m e[90me[39m
e[35m[HTTP]e[39m e[37m–>e[39m e[37mGETe[39m e[37m/wd/hub/statuse[39m
e[35m[HTTP]e[39m e[90m{}e[39m
e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/status e[39me[32m200e[39m e[90m1 ms - 68e[39m
e[35m[HTTP]e[39m e[90me[39m
e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/sessione[39m
e[35m[HTTP]e[39m e[90m{“desiredCapabilities”:{“app”:“C:\Users\Wei Zhong\Desktop\DynamicWeb\Katalon\Testing on TWG mobile app\androidapp\twgtea.TWGTEA-Signed.apk”,“autoGrantPermissions”:true,“automationName”:“uiautomator2”,“deviceId”:“”,“deviceName”:“samsung SM-G950F (Android 8.0.0)”,“fullReset”:false,“newCommandTimeout”:1800,“noReset”:true,“platform”:“ANDROID”,“platformName”:“Android”,“udid”:“ce051715746f204c0d”,“uiautomator2ServerInstallTimeout”:60000},“capabilities”:{“desiredCapabilities”:{“app”:“C:\Users\Wei Zhong\Desktop\DynamicWeb\Katalon\Testing on TWG mobile app\androidapp\twgtea.TWGTEA-Signed.apk”,“autoGrantPermissions”:true,“automationName”:“uiautomator2”,“deviceId”:“”,“deviceName”:“samsung SM-G950F (Android 8.0.0)”,“fullReset”:false,“newCommandTimeout”:1800,“noReset”:true,“platform”:“ANDROID”,“platformName”:“Android”,“udid”:“ce051715746f204c0d”,“uiautomator2ServerInstallTimeout”:60000},“firstMatch”:[{“platformName”:“android”}]}}e[39m
e[35m[Appium]e[39m Could not parse W3C capabilities: ‘deviceName’ can’t be blank
e[35m[Appium]e[39m Trying to fix W3C capabilities by merging them with JSONWP caps
e[35m[BaseDriver]e[39m The capabilities [“app”,“autoGrantPermissions”,“automationName”,“deviceId”,“deviceName”,“fullReset”,“newCommandTimeout”,“noReset”,“platform”,“udid”,“uiautomator2ServerInstallTimeout”] are not standard capabilities and should have an extension prefix
e[35m[Appium]e[39m Appium v1.13.0 creating new AndroidUiautomator2Driver (v1.33.1) session
e[35m[Appium]e[39m Capabilities:
e[35m[Appium]e[39m app: C:\Users\Wei Zhong\Desktop\DynamicWeb\Katalon\Testing on TWG mobile app\androidapp\twgtea.TWGTEA-Signed.apk
e[35m[Appium]e[39m autoGrantPermissions: true
e[35m[Appium]e[39m automationName: uiautomator2
e[35m[Appium]e[39m deviceId:
e[35m[Appium]e[39m deviceName: samsung SM-G950F (Android 8.0.0)
e[35m[Appium]e[39m fullReset: false
e[35m[Appium]e[39m newCommandTimeout: 1800
e[35m[Appium]e[39m noReset: true
e[35m[Appium]e[39m platform: ANDROID
e[35m[Appium]e[39m udid: ce051715746f204c0d
e[35m[Appium]e[39m uiautomator2ServerInstallTimeout: 60000
e[35m[Appium]e[39m platformName: android
e[35m[BaseDriver]e[39m The following capabilities were provided, but are not recognized by appium: deviceId, platform.
e[35m[BaseDriver]e[39m Session created with session id: bc1a8384-7179-4161-a5df-1b047c2fc4ca
e[35m[BaseDriver]e[39m Using local app ‘C:\Users\Wei Zhong\Desktop\DynamicWeb\Katalon\Testing on TWG mobile app\androidapp\twgtea.TWGTEA-Signed.apk’
e[35m[ADB]e[39m Found 1 ‘build-tools’ folders under ‘C:\Users\Wei Zhong.katalon\tools\android_sdk’ (newest first):
e[35m[ADB]e[39m C:/Users/Wei Zhong/.katalon/tools/android_sdk/build-tools/29.0.0
e[35m[ADB]e[39m Using ‘adb.exe’ from ‘C:\Users\Wei Zhong.katalon\tools\android_sdk\platform-tools\adb.exe’
e[35m[AndroidDriver]e[39m Retrieving device list
e[35m[AndroidDriver]e[39m Using device: ce051715746f204c0d
e[35m[ADB]e[39m Using ‘adb.exe’ from ‘C:\Users\Wei Zhong.katalon\tools\android_sdk\platform-tools\adb.exe’
e[35m[ADB]e[39m Using the alternative activity name detection method because of: Could not find ‘apkanalyzer.bat’ in [“C:\Users\Wei Zhong\.katalon\tools\android_sdk\platform-tools\apkanalyzer.bat”,“C:\Users\Wei Zhong\.katalon\tools\android_sdk\emulator\apkanalyzer.bat”,“C:\Users\Wei Zhong\.katalon\tools\android_sdk\tools\apkanalyzer.bat”,“C:\Users\Wei Zhong\.katalon\tools\android_sdk\tools\bin\apkanalyzer.bat”,“C:\Users\Wei Zhong\.katalon\tools\android_sdk\build-tools\29.0.0\apkanalyzer.bat”]. Do you have Android Build Tools installed at ‘C:\Users\Wei Zhong.katalon\tools\android_sdk’?
e[35m[ADB]e[39m Using ‘aapt.exe’ from ‘C:\Users\Wei Zhong.katalon\tools\android_sdk\build-tools\29.0.0\aapt.exe’
e[35m[ADB]e[39m Extracting package and launch activity from manifest
e[35m[ADB]e[39m Package name: ‘twgtea.TWGTEA’
e[35m[ADB]e[39m Main activity name: ‘md534aad4f5011cac53a06fe8c536b16b15.SplashScreen’
e[35m[ADB]e[39m Using ‘apksigner.bat’ from ‘C:\Users\Wei Zhong.katalon\tools\android_sdk\build-tools\29.0.0\apksigner.bat’
e[35m[ADB]e[39m Using ‘zipalign.exe’ from ‘C:\Users\Wei Zhong.katalon\tools\android_sdk\build-tools\29.0.0\zipalign.exe’
e[35m[UiAutomator2]e[39m Server packages are going to be (re)installed
e[35m[UiAutomator2]e[39m Full packages reinstall is going to be performed
e[35m[ADB]e[39m io.appium.uiautomator2.server was successfully uninstalled
e[35m[ADB]e[39m The application at ‘C:\Users\Wei Zhong\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v3.5.1.apk’ is already cached to ‘/data/local/tmp/appium_cache/56abf1bf10f6562619a2dd8fb060718e27c4cb28.apk’
e[35m[ADB]e[39m The installation of ‘appium-uiautomator2-server-v3.5.1.apk’ took 16.884s
e[35m[ADB]e[39m io.appium.uiautomator2.server.test was successfully uninstalled
e[35m[ADB]e[39m The application at ‘C:\Users\Wei Zhong\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk’ is already cached to ‘/data/local/tmp/appium_cache/c6e9cdfe0da1784c2c695fae7c66184003868a40.apk’
e[35m[ADB]e[39m The installation of ‘appium-uiautomator2-server-debug-androidTest.apk’ took 16.354s
e[35m[UiAutomator2]e[39m Starting UIAutomator2 server 3.5.1
e[35m[UiAutomator2]e[39m Using UIAutomator2 server from ‘C:\Users\Wei Zhong\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v3.5.1.apk’ and test from ‘C:\Users\Wei Zhong\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk’
e[35m[UiAutomator2]e[39m Waiting up to 30000ms for UiAutomator2 to be online…
e[35m[UiAutomator2]e[39m The instrumentation process has been unexpectedly terminated. Retrying UiAutomator2 startup (#1 of 1)
e[35m[ADB]e[39m No ‘uiautomator’ process has been found
e[35m[UiAutomator2]e[39m Waiting up to 30000ms for UiAutomator2 to be online…
I know it’s a lot but I really appreciate your help! Thanks!