程序启动后获取的日志如下:

I/ActivityManager(972): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.etaoshi.activity/com.etaoshi.app.activity.SplashActivity bnds=[536,72][712,282]} from pid 1279

配置如下:
capabilities.setCapability("appPackage", "com.etaoshi.activity");
capabilities.setCapability("appActivity",
".com.etaoshi.app.activity.SplashActivity");

报错:org.openqa.selenium.SessionNotCreatedException: A new session could not be created. (Original error: Activity used to start app doesn't exist or cannot be launched! Make sure it exists and is a launchable activity) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 4.06 seconds


↙↙↙阅读原文可查看相关链接,并与作者交流