Appium server 1.14.0
The issue cropped up after updating mobile device testing our framework against to Android 9.
Tried again on other devices @ Android 7 & 8 and am not facing the same issue.
We are only testing against Samsung devices.
I have attached the server logs.
The basic test:
start session w/targeting our app to be tested.
androidDriver.terminateApp(“com.android.settings”, new AndroidTerminateApplicationOptions().withTimeout(Duration.ofMillis(10000)));
// The activate/terminate/activate was being used to ensure we started from same settings page location.
The main issue is that I see the settings app being terminated - or the instance we launched - however there seems to be a persistent background settings process that the terminateApp is still witnessing running and rightly throws an exception.
appiumLog.txt (57.0 KB)