MainActivity never started

Hi All,

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

Capabilities used:-
capabilities.setCapability(“appPackage”, “”);
capabilities.setCapability(“appWaitActivity”, “.MainActivity,”);
capabilities.setCapability(“appActivity”, “.MainActivity”);

Error received-

A new session could not be created. (Original error:, never started. Current:,) (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.