{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/5049","labels_url":"https://api.github.com/repos/appium/appium/issues/5049/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/5049/comments","events_url":"https://api.github.com/repos/appium/appium/issues/5049/events","html_url":"https://github.com/appium/appium/issues/5049","id":73144501,"number":5049,"title":"Unable to test an app that doesn't have a launchActivity","user":{"login":"cgadam","id":5420982,"avatar_url":"https://avatars.githubusercontent.com/u/5420982?v=3","gravatar_id":"","url":"https://api.github.com/users/cgadam","html_url":"https://github.com/cgadam","followers_url":"https://api.github.com/users/cgadam/followers","following_url":"https://api.github.com/users/cgadam/following{/other_user}","gists_url":"https://api.github.com/users/cgadam/gists{/gist_id}","starred_url":"https://api.github.com/users/cgadam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgadam/subscriptions","organizations_url":"https://api.github.com/users/cgadam/orgs","repos_url":"https://api.github.com/users/cgadam/repos","events_url":"https://api.github.com/users/cgadam/events{/privacy}","received_events_url":"https://api.github.com/users/cgadam/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appium/appium/labels/NeedsTriage","name":"NeedsTriage","color":"ededed"},{"url":"https://api.github.com/repos/appium/appium/labels/OnGoing","name":"OnGoing","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-04T22:22:57Z","updated_at":"2015-05-06T16:13:06Z","closed_at":null,"body":"Hi,\r\n\r\nI'm trying to do some UI tests of an app that does not have a launchActivity but it does renders an Activity when an specific intent is received.\r\n\r\nSo based on the [Appium Server Capabilities](http://appium.io/slate/en/v1.0.0/?ruby#appium-server-capabilities) I configured my appium server to start with this capabilities:\r\n\r\n```javascript\r\n{\r\n\t\"desiredCapabilities\" : {\r\n\t\t\"browserName\" : \"\",\r\n\t\t\"appium-version\" : \"1.3\",\r\n\t\t\"platformName\" : \"Android\",\r\n\t\t\"platformVersion\" : \"4.4.2\",\r\n\t\t\"deviceName\" : \"Android Emulator\",\r\n\t\t\"app\" : \"c:\\\\path\\\\to\\\\bundle.apk\",\r\n\t\t\"implicitWaitMs\" : 2000,\r\n\t\t\"appWaitActivity\" : \"MyActivity\",\r\n\t\t\"appActivity\" : \".MyActivity\"\r\n\t}\r\n}\r\n```\r\nWhere I explicitly specify the appActivity and the fact that appium should wait for that activity.\r\n\r\nNow, when running I get:\r\n\r\n```\r\nSessionNotCreatedError: A new session could not be created. (Original error: Cannot parse launchActivity from manifest.null)\r\n```\r\n\r\n I'm just wondering why it's trying to get the launch activity from the manifest if I already told appium that it should wait for another activity. Of course I get stuck at this point as everything crashes here.\r\n\r\nAnother weird thing is that appium is not installing the app (something that appium performs by-default if the given apk stated in \"app\" capability is not present in the device)\r\n\r\nAny help is more than welcomed!"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/99526049","html_url":"https://github.com/appium/appium/issues/5049#issuecomment-99526049","issue_url":"https://api.github.com/repos/appium/appium/issues/5049","id":99526049,"user":{"login":"cgadam","id":5420982,"avatar_url":"https://avatars.githubusercontent.com/u/5420982?v=3","gravatar_id":"","url":"https://api.github.com/users/cgadam","html_url":"https://github.com/cgadam","followers_url":"https://api.github.com/users/cgadam/followers","following_url":"https://api.github.com/users/cgadam/following{/other_user}","gists_url":"https://api.github.com/users/cgadam/gists{/gist_id}","starred_url":"https://api.github.com/users/cgadam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgadam/subscriptions","organizations_url":"https://api.github.com/users/cgadam/orgs","repos_url":"https://api.github.com/users/cgadam/repos","events_url":"https://api.github.com/users/cgadam/events{/privacy}","received_events_url":"https://api.github.com/users/cgadam/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T16:13:06Z","updated_at":"2015-05-06T16:13:06Z","body":"I tried providing full qualified name for appWaitActivity but still getting the issue.\r\n\r\nI can also see in the log that mentions this:\r\n\r\n```\r\nwarn: UiAutomator did not shut down fast enough, calling it gone\r\nerror: Failed to start an Appium session, err was: Error: Cannot parse launchAct\r\nivity from manifest.null\r\n```\r\n\r\nDoes it help?"}}