{"action":"created","issue":{"url":"https://api.github.com/repos/47deg/macroid-extras/issues/34","labels_url":"https://api.github.com/repos/47deg/macroid-extras/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/47deg/macroid-extras/issues/34/comments","events_url":"https://api.github.com/repos/47deg/macroid-extras/issues/34/events","html_url":"https://github.com/47deg/macroid-extras/issues/34","id":102159643,"number":34,"title":"Included TR.class causes proguard issues","user":{"login":"oxc","id":1388972,"avatar_url":"https://avatars.githubusercontent.com/u/1388972?v=3","gravatar_id":"","url":"https://api.github.com/users/oxc","html_url":"https://github.com/oxc","followers_url":"https://api.github.com/users/oxc/followers","following_url":"https://api.github.com/users/oxc/following{/other_user}","gists_url":"https://api.github.com/users/oxc/gists{/gist_id}","starred_url":"https://api.github.com/users/oxc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oxc/subscriptions","organizations_url":"https://api.github.com/users/oxc/orgs","repos_url":"https://api.github.com/users/oxc/repos","events_url":"https://api.github.com/users/oxc/events{/privacy}","received_events_url":"https://api.github.com/users/oxc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-20T15:00:46Z","updated_at":"2015-08-20T16:58:10Z","closed_at":"2015-08-20T16:58:10Z","body":"The generated TR.scala (or rather, it's class file) should not be included in the resulting artifact.\r\n\r\nOtherwise, R resources that are no longer present in the newly-generated R file (e.g. due to a newer appcompat version) cause warnings from proguard about invalid field references, e.g.\r\n`Warning: com.fortysevendeg.macroid.extras.TR$layout$: can't find referenced field 'int abc_simple_dropdown_hint' in program class com.fortysevendeg.macroid.extras.R$layout`\r\n\r\nNewer versions of the android-sdk-plugin should handle this correctly automatically."},"comment":{"url":"https://api.github.com/repos/47deg/macroid-extras/issues/comments/133075913","html_url":"https://github.com/47deg/macroid-extras/issues/34#issuecomment-133075913","issue_url":"https://api.github.com/repos/47deg/macroid-extras/issues/34","id":133075913,"user":{"login":"oxc","id":1388972,"avatar_url":"https://avatars.githubusercontent.com/u/1388972?v=3","gravatar_id":"","url":"https://api.github.com/users/oxc","html_url":"https://github.com/oxc","followers_url":"https://api.github.com/users/oxc/followers","following_url":"https://api.github.com/users/oxc/following{/other_user}","gists_url":"https://api.github.com/users/oxc/gists{/gist_id}","starred_url":"https://api.github.com/users/oxc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oxc/subscriptions","organizations_url":"https://api.github.com/users/oxc/orgs","repos_url":"https://api.github.com/users/oxc/repos","events_url":"https://api.github.com/users/oxc/events{/privacy}","received_events_url":"https://api.github.com/users/oxc/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T16:58:10Z","updated_at":"2015-08-20T16:58:10Z","body":"Sorry, it turns out I was misinformed. The TR file is supposed to be in the artifact after all, according to the plugin author."}}