{"action":"created","issue":{"url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/745","labels_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/745/labels{/name}","comments_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/745/comments","events_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/745/events","html_url":"https://github.com/iBotPeaches/Apktool/issues/745","id":62590307,"number":745,"title":"Breaks on decoding Google+ APKs","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/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"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},"milestone":null,"comments":19,"created_at":"2015-03-18T05:04:37Z","updated_at":"2015-12-17T16:53:45Z","closed_at":null,"body":"Original [issue 635](https://code.google.com/p/android-apktool/issues/detail?id=635) created by archon810 on 2014-05-20T15:08:46.000Z:\n\n > <b>What steps will reproduce the problem?</b>\n1. Download Google+ APK 4.3+ from http://www.androidpolice.com/2014/05/20/google-app-gets-a-big-update-to-v4-4-with-a-new-ui-auto-awesome-stories-improved-support-for-large-photo-libraries-and-more-apk-download/\r\n2. Attempt to decode it.\r\n3. Receive crash midway through decoding resources.\r\n\r\n<b>What is the expected output? What do you see instead?</b>\nException in thread &quot;main&quot; brut.androlib.err.UndefinedResObject: resource spec: 0x7f030010\r\n\tat brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:59)\r\n\tat brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)\r\n\tat brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)\r\n\tat brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:60)\r\n\tat brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:47)\r\n\tat brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:45)\r\n\tat brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:49)\r\n\tat brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:553)\r\n\tat brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:309)\r\n\tat brut.androlib.Androlib.decodeResourcesFull(Androlib.java:119)\r\n\tat brut.androlib.ApkDecoder.decode(ApkDecoder.java:115)\r\n\tat brut.apktool.Main.cmdDecode(Main.java:169)\r\n\tat brut.apktool.Main.main(Main.java:85)\r\n\r\n<b>What version of the product are you using? On what operating system?</b>\nUsing Apktool 2.0.0-Beta9-1e3b66f9be on com.google.android.apps.plus-4.4.0.67576161.apk\r\n"},"comment":{"url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/comments/165508592","html_url":"https://github.com/iBotPeaches/Apktool/issues/745#issuecomment-165508592","issue_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/745","id":165508592,"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-17T16:53:44Z","updated_at":"2015-12-17T16:53:44Z","body":"While investigating #1103 , it had the same issue of this. A reference that points to a resource that doesn't exist. Not quite sure why this is happening yet, whether its an improper decode of a different type of resource.\r\n\r\nMaybe we need to check if a resource exists in the private package (`0x7f`), if it doesn't then set to @null. Something is weird."}}