{"action":"created","issue":{"url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/863","labels_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/863/labels{/name}","comments_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/863/comments","events_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/863/events","html_url":"https://github.com/iBotPeaches/Apktool/issues/863","id":62595498,"number":863,"title":"Enhancement: Rebuild resources from scratch","user":{"login":"iBotPeaches","id":611784,"avatar_url":"https://avatars.githubusercontent.com/u/611784?v=3","gravatar_id":"","url":"https://api.github.com/users/iBotPeaches","html_url":"https://github.com/iBotPeaches","followers_url":"https://api.github.com/users/iBotPeaches/followers","following_url":"https://api.github.com/users/iBotPeaches/following{/other_user}","gists_url":"https://api.github.com/users/iBotPeaches/gists{/gist_id}","starred_url":"https://api.github.com/users/iBotPeaches/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iBotPeaches/subscriptions","organizations_url":"https://api.github.com/users/iBotPeaches/orgs","repos_url":"https://api.github.com/users/iBotPeaches/repos","events_url":"https://api.github.com/users/iBotPeaches/events{/privacy}","received_events_url":"https://api.github.com/users/iBotPeaches/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/iBotPeaches/Apktool/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-18T05:42:28Z","updated_at":"2015-12-18T14:23:18Z","closed_at":"2015-12-18T14:23:17Z","body":"Original [issue 754](https://code.google.com/p/android-apktool/issues/detail?id=754) created by newton3143 on 2015-02-01T09:48:25.000Z:\n\n > while modding apps, many a times resources are removed or changed. These cause resource errors while rebuilding. I suggest resources be mapped to R.XX.XXXX mode while decoding to smali and then code back to 0x7f0X00XX mode.\r\n\r\n\r\nI have written a test program that helps do this.\r\n\r\n&gt; smali_resources_rebuild (decode|encode|check) dir/\r\n\r\nDecode : Converts 0x7f0X0XXX ~~~&gt; R.XX.XXX\r\nEncode : Converts R.XX.XXX ~~~&gt; 0x7f0X0XXX\r\nCheck  : Returns any left back R.XX.XXX syntax. Use this to remove the code that is unnecessary. \r\n\r\nDeleting Resources from R$XX.smali files after decode to not include it while check and rebuild.\r\n\r\nWhat do you guys think? \r\nDo let me know"},"comment":{"url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/comments/165789365","html_url":"https://github.com/iBotPeaches/Apktool/issues/863#issuecomment-165789365","issue_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/863","id":165789365,"user":{"login":"iBotPeaches","id":611784,"avatar_url":"https://avatars.githubusercontent.com/u/611784?v=3","gravatar_id":"","url":"https://api.github.com/users/iBotPeaches","html_url":"https://github.com/iBotPeaches","followers_url":"https://api.github.com/users/iBotPeaches/followers","following_url":"https://api.github.com/users/iBotPeaches/following{/other_user}","gists_url":"https://api.github.com/users/iBotPeaches/gists{/gist_id}","starred_url":"https://api.github.com/users/iBotPeaches/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iBotPeaches/subscriptions","organizations_url":"https://api.github.com/users/iBotPeaches/orgs","repos_url":"https://api.github.com/users/iBotPeaches/repos","events_url":"https://api.github.com/users/iBotPeaches/events{/privacy}","received_events_url":"https://api.github.com/users/iBotPeaches/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T14:23:17Z","updated_at":"2015-12-18T14:23:17Z","body":"Closing as duplicate (or feature enhancement) of #244 which was also covered in more detail here - 1097#issuecomment-162515981"}}