{"action":"created","issue":{"url":"https://api.github.com/repos/mixpanel/mixpanel-android/issues/296","labels_url":"https://api.github.com/repos/mixpanel/mixpanel-android/issues/296/labels{/name}","comments_url":"https://api.github.com/repos/mixpanel/mixpanel-android/issues/296/comments","events_url":"https://api.github.com/repos/mixpanel/mixpanel-android/issues/296/events","html_url":"https://github.com/mixpanel/mixpanel-android/issues/296","id":125305189,"number":296,"title":"Android 5 permission issue (duplicate permission RECEIVE)","user":{"login":"mlostekk","id":10534316,"avatar_url":"https://avatars.githubusercontent.com/u/10534316?v=3","gravatar_id":"","url":"https://api.github.com/users/mlostekk","html_url":"https://github.com/mlostekk","followers_url":"https://api.github.com/users/mlostekk/followers","following_url":"https://api.github.com/users/mlostekk/following{/other_user}","gists_url":"https://api.github.com/users/mlostekk/gists{/gist_id}","starred_url":"https://api.github.com/users/mlostekk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlostekk/subscriptions","organizations_url":"https://api.github.com/users/mlostekk/orgs","repos_url":"https://api.github.com/users/mlostekk/repos","events_url":"https://api.github.com/users/mlostekk/events{/privacy}","received_events_url":"https://api.github.com/users/mlostekk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-07T01:58:18Z","updated_at":"2016-01-07T02:15:12Z","closed_at":null,"body":"Hello out there, i am fine with mixpanel with each version, but not Android 5.\r\n\r\nI am using the permissions like that (in order to get it running on 6)\r\n\r\n    <permission android:name=\"com.google.android.c2dm.permission.RECEIVE\"/>\r\n    <uses-permission android:name=\"com.google.android.c2dm.permission.RECEIVE\" />\r\n\r\nBut here i get the following error during installation\r\n\r\n    INSTALL_FAILED_DUPLICATE_PERMISSION perm=com.google.android.c2dm.permission.RECEIVE\r\n\r\nAny suggestion?"},"comment":{"url":"https://api.github.com/repos/mixpanel/mixpanel-android/issues/comments/169524460","html_url":"https://github.com/mixpanel/mixpanel-android/issues/296#issuecomment-169524460","issue_url":"https://api.github.com/repos/mixpanel/mixpanel-android/issues/296","id":169524460,"user":{"login":"ryanseams","id":9201737,"avatar_url":"https://avatars.githubusercontent.com/u/9201737?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanseams","html_url":"https://github.com/ryanseams","followers_url":"https://api.github.com/users/ryanseams/followers","following_url":"https://api.github.com/users/ryanseams/following{/other_user}","gists_url":"https://api.github.com/users/ryanseams/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanseams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanseams/subscriptions","organizations_url":"https://api.github.com/users/ryanseams/orgs","repos_url":"https://api.github.com/users/ryanseams/repos","events_url":"https://api.github.com/users/ryanseams/events{/privacy}","received_events_url":"https://api.github.com/users/ryanseams/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T02:15:12Z","updated_at":"2016-01-07T02:15:12Z","body":"hi @mlostekk thanks for writing in! it looks like [this issue](http://stackoverflow.com/questions/27043933/install-failed-duplicate-permission-c2d-message/27456355) commonly happens on Android 5.x when updating an existing app and not installing a new version of the app.\r\n\r\ncan you confirm this error is on an upgrade of the current app and not a new install? if so, do you mind going to Settings > Apps, uninstalling the app, and then installing again to see if this fixes the issue?"}}