MainActivity never started


#1

Hi All,

I am automating a hybrid app using appium tool and facing some issues.

Capabilities used:-
capabilities.setCapability(“appPackage”, “com.smartalyse.iot.app.jedi”);
capabilities.setCapability(“appWaitActivity”, “.MainActivity,”);
capabilities.setCapability(“appActivity”, “.MainActivity”);

Error received-

A new session could not be created. (Original error: com.smartalyse.iot.app.jedi/.MainActivity, never started. Current: com.smartalyse.iot.app.jedi/.MainActivity,) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds

Our app does not have any other launchable activity other than main.
I do not understand if my current and actual errors are same still why I am getting issue. Please help.