Appium 1.6.3
When I run multiple tests in a row on android emulator I occasionally get the error
“An unknown server-side error occurred while processing the command. Original error: Error occured while starting App.”
Appium [debug] displays App was not copied, so not deleting, before the error above.
I do have other device hooked up to the machine, and received the below error.
Error: Not cleaning generated files. Add clearSystemFiles
capability if wanted.
Which was fixed with
capabilities.setCapability(“clearSystemFiles”,true);
Any ideas?
[ADB] App was uninstalled
[debug] [AndroidBootstrap] Sending command to android: {“cmd”:“shutdown”}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [UiAutomator] Shutting down UiAutomator
[debug] [UiAutomator] Moving to state ‘stopping’
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“shutdown”}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type SHUTDOWN
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:“OK, shutting down”}
[debug] [UiAutomator] UiAutomator shut down normally
[debug] [UiAutomator] Moving to state ‘stopped’
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting all processes with uiautomator
[debug] [ADB] Getting connected devices…
[debug] [ADB] 3 device(s) connected
[debug] [ADB] Running ‘/Users/mpsadmin/Library/Android/sdk/platform-tools/adb’ with args: ["-P",5037,"-s",“emulator-5554”,“shell”,“ps”]
[ADB] No uiautomator process found to kill, continuing…
[debug] [UiAutomator] Moving to state ‘stopped’
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Getting connected devices…
[debug] [ADB] 3 device(s) connected
[debug] [ADB] Running ‘/Users/mpsadmin/Library/Android/sdk/platform-tools/adb’ with args: ["-P",5037,"-s",“emulator-5554”,“shell”,“am”,“force-stop”,“io.appium.unlock”]
[debug] [AndroidDriver] App was not copied, so not deleting
[HTTP] <-- POST /wd/hub/session 500 63572 ms - 365