{"action":"created","issue":{"url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/1323","repository_url":"https://api.github.com/repos/iBotPeaches/Apktool","labels_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/1323/labels{/name}","comments_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/1323/comments","events_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/1323/events","html_url":"https://github.com/iBotPeaches/Apktool/issues/1323","id":177361179,"number":1323,"title":"No resource identifier found in package 'android' and Cant find 9patch chunk in file","user":{"login":"facetime88","id":12093259,"avatar_url":"https://avatars2.githubusercontent.com/u/12093259?v=3","gravatar_id":"","url":"https://api.github.com/users/facetime88","html_url":"https://github.com/facetime88","followers_url":"https://api.github.com/users/facetime88/followers","following_url":"https://api.github.com/users/facetime88/following{/other_user}","gists_url":"https://api.github.com/users/facetime88/gists{/gist_id}","starred_url":"https://api.github.com/users/facetime88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facetime88/subscriptions","organizations_url":"https://api.github.com/users/facetime88/orgs","repos_url":"https://api.github.com/users/facetime88/repos","events_url":"https://api.github.com/users/facetime88/events{/privacy}","received_events_url":"https://api.github.com/users/facetime88/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-09-16T07:27:34Z","updated_at":"2017-06-26T20:34:22Z","closed_at":"2016-09-18T21:25:24Z","body":"### Information\n1. **Apktool Version (`apktool -version`)** - APKTool V 2.2.0\n2. **Operating System (Mac, Linux, Windows)** - WIndows 10 x64\n3. **APK From? (Playstore, ROM, Other)** - APKpure.com which get from google play store.\n### Stacktrace/Logcat\n\nThis error shown when decompiling:\n\n`W: Cant find 9patch chunk in file: \"drawable-hdpi-v4/show_head_toast_bg.9.PNG\". Renaming it to *.png.`\n\nThen without making any change, recompile and got this error:\n\n`I: Using Apktool 2.2.0`\n`I: Checking whether sources has changed...`\n`I: Smaling smali folder into classes.dex...`\n`I: Checking whether resources has changed...`\n`I: Building resources...`\n`W: warning: string 'text_add_io_success' has no default translation.`\n`W: warning: string 'text_register_hint_user' has no default translation.`\n`W: D:\\Android\\Decompiler\\APKTool\\geek\\AndroidManifest.xml:32: error: No resource identifier found for attribute 'qihoo' in package 'android'`\n`W:\nException in thread \"main\" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\\Users\\Me\\AppData\\Local\\Temp\\brut_util_Jar_6476050558657285376.tmp, p, --forced-package-id, 127, --min-sdk-version, 10, --target-sdk-version, 19, --version-code, 26, --version-name, 2.3.9, -F, C:\\Users\\Me\\AppData\\Local\\Temp\\APKTOOL1894102460996166075.tmp, -0, arsc, -0, appkey, -0, res/drawable-hdpi-v4/show_head_toast_bg.9.PNG, -0, arsc, -I, C:\\Users\\Me\\AppData\\Local\\apktool\\framework\\1.apk, -S, D:\\Android\\Decompiler\\APKTool\\geek\\res, -M, D:\\Android\\Decompiler\\APKTool\\geek\\AndroidManifest.xml]\n        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:473)\n        at brut.androlib.Androlib.buildResources(Androlib.java:407)\n        at brut.androlib.Androlib.build(Androlib.java:306)\n        at brut.androlib.Androlib.build(Androlib.java:263)\n        at brut.apktool.Main.cmdBuild(Main.java:224)\n        at brut.apktool.Main.main(Main.java:84)\nCaused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\\Users\\Me\\AppData\\Local\\Temp\\brut_util_Jar_6476050558657285376.tmp, p, --forced-package-id, 127, --min-sdk-version, 10, --target-sdk-version, 19, --version-code, 26, --version-name, 2.3.9, -F, C:\\Users\\Me\\AppData\\Local\\Temp\\APKTOOL1894102460996166075.tmp, -0, arsc, -0, appkey, -0, res/drawable-hdpi-v4/show_head_toast_bg.9.PNG, -0, arsc, -I, C:\\Users\\MeAppData\\Local\\apktool\\framework\\1.apk, -S, D:\\Android\\Decompiler\\APKTool\\geek\\res, -M, D:\\Android\\Decompiler\\APKTool\\geek\\AndroidManifest.xml]\n        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:439)\n        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:459)\n        ... 5 more\nCaused by: brut.common.BrutException: could not exec (exit code = 1): [C:\\Users\\MeAppData\\Local\\Temp\\brut_util_Jar_6476050558657285376.tmp, p, --forced-package-id, 127, --min-sdk-version, 10, --target-sdk-version, 19, --version-code, 26, --version-name, 2.3.9, -F, C:\\Users\\Me\\AppData\\Local\\Temp\\APKTOOL1894102460996166075.tmp, -0, arsc, -0, appkey, -0, res/drawable-hdpi-v4/show_head_toast_bg.9.PNG, -0, arsc, -I, C:\\Users\\Me\\AppData\\Local\\apktool\\framework\\1.apk, -S, D:\\Android\\Decompiler\\APKTool\\geek\\res, -M, D:\\Android\\Decompiler\\APKTool\\geek\\AndroidManifest.xml]\n        at brut.util.OS.exec(OS.java:95)\n        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:433)\n        ... 6 more`\n### Steps to Reproduce\n1. Install framework 'apktool if framework-res.apk' and 'apktool if twframework-res.apk'.\n2. Decompile file 'apktool d geek.apk'.\n3. Recompile.\n### Frameworks\n\n[framework-res.zip](https://github.com/iBotPeaches/Apktool/files/476284/framework-res.zip)\n[twframework-res.zip](https://github.com/iBotPeaches/Apktool/files/476292/twframework-res.zip)\n\nThis framework taken from Samsung Galaxy Tab S 7\" SM T-705 with Android 5.0.2, where app installed just fine from Google Play Store.\n### APK\n\n[apk.zip](https://github.com/iBotPeaches/Apktool/files/476243/geek.zip)\n### Questions to ask before submission\n1. Have you tried `apktool d`, `apktool b` without changing anything? Yes\n2. If you are trying to install a modified apk, did you resign it? Not yet, recompiling failed.\n3. Are you using the latest apktool version? Yes\n"},"comment":{"url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/comments/311173974","html_url":"https://github.com/iBotPeaches/Apktool/issues/1323#issuecomment-311173974","issue_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/1323","id":311173974,"user":{"login":"iBotPeaches","id":611784,"avatar_url":"https://avatars1.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":"2017-06-26T20:34:22Z","updated_at":"2017-06-26T20:34:22Z","body":"That is a low level stack trace of native components, there is nothing there that points to the removal of `qihoo` attribute. "}}
{"actor":{"display_login":"iBotPeaches"}}