'Unable to start application on this device' error. packageAndLaunchActivityFromManifest failed.

Hi Rocky,

There might be a mismatch between the package name and the activity name in your settings.

There are some DesiredCapabilities you can set that might help you get around this. In your Project->Settings menu, go to Execution->Default->Mobile->Android.

Add new entries for appPackage, appActivity, appWaitActivity, and appWaitDuration. Here’s a description of what those activities mean: http://appium.io/docs/en/writing-running-appium/caps/

When done, it should look something like this (substituting mycompany for the actual company code in the package).

Name              Type   Value
appWaitActivity   String   com.mycompany.*
appPackage        String   com.mycompany.app
appActivity       String   com.mycompany.Login
appWaitDuration   Number   30000

Hope this helps,

Chris