Hi, I have this error message while trying run the APP ( for android appium)
APPIUM verstion 1.6.5
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\gilb\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s ZY2246WFXV install C:\Users\gilb\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-unlock\bin\unlock_apk-debug.apk’ exited with code 1’; Stderr: ‘Failed to install C:\Users\gilb\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-unlock\bin\unlock_apk-debug.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package io.appium.unlock signatures do not match the previously installed version; ignoring!]’; Code: ‘1’ (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 6.37 seconds
I am not entirely sure if I understood your problem correctly. But one high level look at your query makes me suspect that you might be having a different version of the app already installed in the device. Please check if it is installed already and if yes , uninstalling the app will help
I Uninstall the 'Unlock" app and run the automation again. i have the same error message.
I found that the “Unlock” APP was install again. why ? Who is responsible for installing this app?
[ADB] Cannot read version codes of C:\Users\gilb\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\io.appium.settings\app\build\outputs\apk\settings_apk-debug.apk and/or io.appium.settings. Assuming correct app version is already installed
[ADB] Error: io.appium.unlock.Unlock or io.appium.unlock.io.appium.unlock.Unlock never started
at Object.wrappedLogger.errorAndThrow (…/…/lib/logging.js:63:13)
at ADB.callee$0$0$ (…/…/…/lib/tools/apk-utils.js:153:7)
at tryCatch (C:\Users\gilb\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\gilb\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\gilb\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (C:\Users\gilb\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
Error: io.appium.unlock.Unlock or io.appium.unlock.io.appium.unlock.Unlock never started
now i try to create new workspace (in new computer) with appium 1.6.5. i copy the same project (i use Inteljent)
and its not working. the error message a show you before.
what can i write in : caps.setCapability(MobileCapabilityType.APP ?
I install my test app later with adb command so i dont now what to do here (in getCaps calss)