payload: {"action":"created","issue":{"url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/2036","repository_url":"https://api.github.com/repos/iBotPeaches/Apktool","labels_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/2036/labels{/name}","comments_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/2036/comments","events_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/2036/events","html_url":"https://github.com/iBotPeaches/Apktool/issues/2036","id":418490425,"node_id":"MDU6SXNzdWU0MTg0OTA0MjU=","number":2036,"title":"APK crashes on (2.4.0, 2.3.4, 2.3.3, 2.3.2), works fine using 2.3.1","user":{"login":"B88B","id":48332689,"node_id":"MDQ6VXNlcjQ4MzMyNjg5","avatar_url":"https://avatars3.githubusercontent.com/u/48332689?v=4","gravatar_id":"","url":"https://api.github.com/users/B88B","html_url":"https://github.com/B88B","followers_url":"https://api.github.com/users/B88B/followers","following_url":"https://api.github.com/users/B88B/following{/other_user}","gists_url":"https://api.github.com/users/B88B/gists{/gist_id}","starred_url":"https://api.github.com/users/B88B/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/B88B/subscriptions","organizations_url":"https://api.github.com/users/B88B/orgs","repos_url":"https://api.github.com/users/B88B/repos","events_url":"https://api.github.com/users/B88B/events{/privacy}","received_events_url":"https://api.github.com/users/B88B/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2019-03-07T20:06:54Z","updated_at":"2019-03-10T16:03:59Z","closed_at":null,"author_association":"NONE","body":"### Information\r\n1. Apktool 2.4.0\r\n2. Windows (x64)\r\n3. APK from ApkMirror/Playstore/etc. (all produce the same issue)\r\n\r\n### Stacktrace/Logcat\r\n\r\n```\r\nE/MessageQueue-JNI(3648): Exception in MessageQueue callback: handleReceiveCallback\r\nE/MessageQueue-JNI(3648): android.content.res.Resources$NotFoundException: File res/raw/voice_note_start.wav from drawable resource ID #0x7f0f000c\r\nE/MessageQueue-JNI(3648): \tat android.content.res.Resources.openRawResourceFd(Resources.java:1315)\r\nE/MessageQueue-JNI(3648): \tat android.media.SoundPool.load(SoundPool.java:245)\r\n```\r\n\r\n### Steps to Reproduce\r\n1. `apktool d` (with apktool 2.4.0)\r\n2. `apktool b` (with apktool 2.4.0)\r\n3. sign, install the apk.\r\n4. Open the app and try to record a voice note.\r\n\r\n_Notes_: \r\n- I tried building using apktool versions: 2.3.2, 2.3.3, 2.3.4. ALL produce the same crash\r\n- The strange thing is, using version 2.3.1 to build, the app works fine and doesn't crash.\r\n\r\n### Frameworks\r\nApktool default.\r\n\r\n### APK\r\nIf this APK can be freely shared, please upload/attach a link to it.\r\nhttps://www.apkmirror.com/apk/whatsapp-inc/whatsapp/whatsapp-2-19-34-release/whatsapp-messenger-2-19-34-2-android-apk-download/\r\n\r\n### Questions to ask before submission\r\n1. Have you tried `apktool d`, `apktool b` without changing anything? Yes\r\n2. If you are trying to install a modified apk, did you resign it? Yes\r\n3. Are you using the latest apktool version? Yes"},"comment":{"url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/comments/471318992","html_url":"https://github.com/iBotPeaches/Apktool/issues/2036#issuecomment-471318992","issue_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/2036","id":471318992,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3MTMxODk5Mg==","user":{"login":"YoBasha","id":17124233,"node_id":"MDQ6VXNlcjE3MTI0MjMz","avatar_url":"https://avatars1.githubusercontent.com/u/17124233?v=4","gravatar_id":"","url":"https://api.github.com/users/YoBasha","html_url":"https://github.com/YoBasha","followers_url":"https://api.github.com/users/YoBasha/followers","following_url":"https://api.github.com/users/YoBasha/following{/other_user}","gists_url":"https://api.github.com/users/YoBasha/gists{/gist_id}","starred_url":"https://api.github.com/users/YoBasha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YoBasha/subscriptions","organizations_url":"https://api.github.com/users/YoBasha/orgs","repos_url":"https://api.github.com/users/YoBasha/repos","events_url":"https://api.github.com/users/YoBasha/events{/privacy}","received_events_url":"https://api.github.com/users/YoBasha/received_events","type":"User","site_admin":false},"created_at":"2019-03-10T16:03:59Z","updated_at":"2019-03-10T16:03:59Z","author_association":"NONE","body":"### **UPDATE 1**\r\n100% confirmed, the crash is caused by this commit [a8bdad628a58e65313521b809d8df60f3f86d40e](https://github.com/iBotPeaches/Apktool/commit/a8bdad628a58e65313521b809d8df60f3f86d40e#diff-b815d50742ad027149720c112224716d).\r\n\r\n\r\nI have built 2.4.1 with reverting the above commit, and the app **APK no longer crashes!**\r\n\r\nYou can do the tests yourself. (@B88B can you confirm the fix?) \r\n[apktool-cli-all-issue2036.zip](https://github.com/iBotPeaches/Apktool/files/2949656/apktool-cli-all-issue2036.zip)\r\n\r\n\r\n@iBotPeaches Any thoughts on why zipPackage() is causing this issue?"}}
other: {"actor":{"display_login":"YoBasha"}}