Hi All,
i have set the below capabilities to restart the app without reset ,
capabilities.setCapability("FullReset", false);
capabilities.setCapability("noReset", true);
But i am getting below error logs, please help me to solve this issues
info: [debug] Waiting for pkg "com.mobile.activity" and activity "com.mobile.activity.SplashActivity" to be focused
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "C:\AndriodSDK\sdk\platform-tools\adb.exe" -s UUID shell "dumpsys window windows"
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "C:\AndriodSDK\sdk\platform-tools\adb.exe" -s UUID shell "dumpsys window windows"
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "C:\AndriodSDK\sdk\platform-tools\adb.exe" -s UUID shell "dumpsys window windows"
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "C:\AndriodSDK\sdk\platform-tools\adb.exe" -s UUID shell "dumpsys window windows"
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "C:\AndriodSDK\sdk\platform-tools\adb.exe" -s UUID shell "dumpsys window windows"
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "C:\AndriodSDK\sdk\platform-tools\adb.exe" -s UUID shell "dumpsys window windows"
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "C:\AndriodSDK\sdk\platform-tools\adb.exe" -s UUID shell "dumpsys window windows"
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "C:\AndriodSDK\sdk\platform-tools\adb.exe" -s UUID shell "dumpsys window windows"
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "C:\AndriodSDK\sdk\platform-tools\adb.exe" -s UUID shell "dumpsys window windows"
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "C:\AndriodSDK\sdk\platform-tools\adb.exe" -s UUID shell "dumpsys window windows"
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "C:\AndriodSDK\sdk\platform-tools\adb.exe" -s UUID shell "dumpsys window windows"
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "C:\AndriodSDK\sdk\platform-tools\adb.exe" -s UUID shell "dumpsys window windows"
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "C:\AndriodSDK\sdk\platform-tools\adb.exe" -s UUID shell "dumpsys window windows"
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "C:\AndriodSDK\sdk\platform-tools\adb.exe" -s UUID shell "dumpsys window windows"
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "C:\AndriodSDK\sdk\platform-tools\adb.exe" -s UUID shell "dumpsys window windows"
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "C:\AndriodSDK\sdk\platform-tools\adb.exe" -s UUID shell "dumpsys window windows"
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "C:\AndriodSDK\sdk\platform-tools\adb.exe" -s UUID shell "dumpsys window windows"
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "C:\AndriodSDK\sdk\platform-tools\adb.exe" -s UUID shell "dumpsys window windows"
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "C:\AndriodSDK\sdk\platform-tools\adb.exe" -s UUID shell "dumpsys window windows"
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "C:\AndriodSDK\sdk\platform-tools\adb.exe" -s UUID shell "dumpsys window windows"
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "C:\AndriodSDK\sdk\platform-tools\adb.exe" -s UUID shell "dumpsys window windows"
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "C:\AndriodSDK\sdk\platform-tools\adb.exe" -s UUID shell "dumpsys window windows"
info: [debug] Getting focused package and activity
info: [debug] executing cmd: "C:\AndriodSDK\sdk\platform-tools\adb.exe" -s UUID shell "dumpsys window windows"
error: com.mobile.activity/com.mobile.activity.SplashActivity never started. Current: com.mobile.activity/com.mobile.activity.LoginScreen
info: [debug] Stopping logcat capture
info: [debug] Logcat terminated with code null, signal SIGTERM
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"shutdown"}
info: [debug] [BOOTSTRAP] [debug] Got command of type SHUTDOWN
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
info: [debug] [BOOTSTRAP] [debug] Closed client connection
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=.
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 0
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.
info: [debug] [UIAUTOMATOR STDOUT] Time: 22.591
info: [debug] [UIAUTOMATOR STDOUT] OK (1 test)
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1
info: [debug] Sent shutdown command, waiting for UiAutomator to stop...
info: [debug] UiAutomator shut down normally
info: [debug] Cleaning up android objects
info: [debug] Responding to client with error: {"status":1,"value":{"message":"Unable to launch the app: Error: com.mobile..activity/com.mobile.activity.SplashActivity never started. Current: com.mobile.activity/com.mobile.activity.LoginScreen