Cannot start the application... WARNING: The server did not provide any stacktrace information)

When I try to start my Android device, I have this error
Unable to start application on this device.: An unknown server-side error occurred while processing the command.
Original error: Cannot start the ‘…’ application.
Original error: ‘…ui.activities.MainActivity’ or ‘…ui.activities.MainActivity’ never started
(WARNING: The server did not provide any stacktrace information)

Command duration or timeout: 67.29 seconds

Build info:
version: ‘3.7.1’,
revision: ‘8a0099a’,
time: ‘2017-11-06T21:07:36.161Z’

System info:
host: ‘…’,
ip: ‘…’,
os.name: ‘Windows 10’,
os.arch: ‘amd64’,
os.version: ‘10.0’,
java.version: ‘1.8.0_181’

Driver info:
driver.version: SwipeableAndroidDriver
19022300xe_51021%20PM_Error

Hi @michel.belanger,

A couple of things you could try:

  1. Make sure you’re using Appium server version 1.8.1 (Appium Desktop 1.6.3 comes with this version) as higher versions are not compatible version with Katalon Studio right now.

  2. You may need to set the Desired Capabilities for your test so that it waits for your package and activity to be available. You can set appWaitActivity to * and appWaitPackage to your app’s package, e.g. com.mycompany.package.

You can find some more information about that in this post: 'Unable to start application on this device' error. packageAndLaunchActivityFromManifest failed.

Hope this helps,

Chris

2 Likes