Unable to start the application while Mobile Record/Spy

I am getting below error while starting Mobile Spy/Recording:

Unable to start the application.

java.util.concurrent.ExecutionException: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command.

Original error: Activity name ‘.com.company.android.app.controller.SplashActivity’ used to start the app doesn’t exist or cannot be launched! Make sure it exists and is a launchable activity

remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command.

Can someone help to resolve the issue.

Can you specify the desired capabilities used.
Did you try with below in desired capabilities.
‘appActivity’: ‘com.company.android.app.controller.SplashActivity’,
‘appWaitActivity’: ‘com.company.android.app.controller.SplashActivity, com.company.android.app.controller.main.MainActivity’

1 Like

I used appWaitActivity with Value as *. Added only this Desired Capability to the project and it resolved my issue. Thank you so much.

1 Like