Failed to create session. An unknown server-side error occurred while processing the command. Original error: Cannot start the 'com.apkpure.aegon' application

I’m new to Appium and I’m having an issue trying to create a session on Appium Inspector. Here is my setup:

Android Studio: Pixel XL API 34

Go to Appium Server GUI -> Advanced
Server address: localhost
Port: 4723
Allow CORP: yes

Go to Appium Inspector
Remote host: localhost
Port: 4723
Path: /wd/hub

Allow Unauthorized Certificates

Select your capabilities

Start server

The Issue

Appium logs


to see full logs go to https://github.com/appium/appium/issues/19459

Appium version 2.2.2

try add capability

"appium:appWaitActivity": "*"

I tried adding “appium:appWaitActivity”: “*” but still get Failed to create session. An unknown server-side error occurred while processing the command. Original error: Cannot start the ‘com.apkpure.aegon’ application.

There is no GUI version of Appium 2. From your full log:

[Appium] Welcome to Appium v1.22.3

Instead of using (unsupported) Appium Desktop, just start Appium 2 from command line:

appium

If you need help installing Appium 2 or Drivers:

  1. you added “*” instead of just *
  2. enable DEBUG log and you will see more info