{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/7317","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/7317/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/7317/comments","events_url":"https://api.github.com/repos/appium/appium/issues/7317/events","html_url":"https://github.com/appium/appium/issues/7317","id":192422661,"node_id":"MDU6SXNzdWUxOTI0MjI2NjE=","number":7317,"title":"Android Coverage desired capability not working as expected","user":{"login":"Prasant-Sutaria","id":9624021,"node_id":"MDQ6VXNlcjk2MjQwMjE=","avatar_url":"https://avatars2.githubusercontent.com/u/9624021?v=4","gravatar_id":"","url":"https://api.github.com/users/Prasant-Sutaria","html_url":"https://github.com/Prasant-Sutaria","followers_url":"https://api.github.com/users/Prasant-Sutaria/followers","following_url":"https://api.github.com/users/Prasant-Sutaria/following{/other_user}","gists_url":"https://api.github.com/users/Prasant-Sutaria/gists{/gist_id}","starred_url":"https://api.github.com/users/Prasant-Sutaria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Prasant-Sutaria/subscriptions","organizations_url":"https://api.github.com/users/Prasant-Sutaria/orgs","repos_url":"https://api.github.com/users/Prasant-Sutaria/repos","events_url":"https://api.github.com/users/Prasant-Sutaria/events{/privacy}","received_events_url":"https://api.github.com/users/Prasant-Sutaria/received_events","type":"User","site_admin":false},"labels":[{"id":34328464,"node_id":"MDU6TGFiZWwzNDMyODQ2NA==","url":"https://api.github.com/repos/appium/appium/labels/Android","name":"Android","color":"ADFF2F","default":false},{"id":24368806,"node_id":"MDU6TGFiZWwyNDM2ODgwNg==","url":"https://api.github.com/repos/appium/appium/labels/Bug","name":"Bug","color":"fc2929","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-11-29T22:38:31Z","updated_at":"2019-04-26T04:54:07Z","closed_at":"2017-07-21T20:34:02Z","author_association":"NONE","body":"## The problem\r\n\r\nWe are following the following links to generate Android code coverage for our Android test:\r\n\r\nhttp://appium.io/slate/en/v1.0.0/?java#android-coverage\r\nhttps://github.com/appium/appium/blob/0.18.x/docs/en/android_coverage.md\r\n\r\nWe are passing \"androidCoverage\" desired capability:\r\n\r\ncapabilities.setCapability(\"androidCoverage\",\"com.example.xyz.activitylearning/com.example.xyz.instrumentation.MyInstrumentation\");\r\n\r\n**Expected:** Appium to launch app in instrumented mode using following ADB command:\r\n\r\nadb shell am instrument -e coverage true -w com.example.xyz.activitylearning/com.example.xyz.instrumentation.MyInstrumentation\r\n\r\n**Actual:** Appium is launching in normal mode\r\n\r\n[\"-P\",5037,\"-s\",\"emulator-5554\",\"shell\",\"am\",\"start\",\"-n\",\"com.example.e880579.activitylearning/com.example.e880579.activitylearning.SplashScreenActivity\",\"-a\",\"android.intent.action.MAIN\",\"-c\",\"android.intent.category.LAUNCHER\",\"-f\",\"0x10200000\"]\r\n\r\n## Environment\r\n\r\n* Appium version (or git revision) that exhibits the issue: 1.5.3 (Ara)\r\n* Last Appium version that did not exhibit the issue (if applicable): NA\r\n* Desktop OS/version used to run Appium: OS X El Capitan Version 10.11.2\r\n* Node.js version (unless using Appium.app|exe): Appium.app\r\n* Mobile platform/version under test: Android\r\n* Real device or emulator/simulator: Emulator\r\n* Appium CLI or Appium.app|exe: Appium.app\r\n\r\n## Link to Appium logs\r\n\r\nhttps://gist.github.com/Prasant-Sutaria/caa16878b6df34307a452f3e3b251838\r\n"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/486925246","html_url":"https://github.com/appium/appium/issues/7317#issuecomment-486925246","issue_url":"https://api.github.com/repos/appium/appium/issues/7317","id":486925246,"node_id":"MDEyOklzc3VlQ29tbWVudDQ4NjkyNTI0Ng==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2019-04-26T04:54:07Z","updated_at":"2019-04-26T04:54:07Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs."}}
{"actor":{"display_login":"lock"}}