{"action":"created","issue":{"url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/983","labels_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/983/labels{/name}","comments_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/983/comments","events_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/983/events","html_url":"https://github.com/iBotPeaches/Apktool/issues/983","id":91983075,"number":983,"title":"apktool build fails at compiling resource files","user":{"login":"nderkach","id":1253785,"avatar_url":"https://avatars.githubusercontent.com/u/1253785?v=3","gravatar_id":"","url":"https://api.github.com/users/nderkach","html_url":"https://github.com/nderkach","followers_url":"https://api.github.com/users/nderkach/followers","following_url":"https://api.github.com/users/nderkach/following{/other_user}","gists_url":"https://api.github.com/users/nderkach/gists{/gist_id}","starred_url":"https://api.github.com/users/nderkach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nderkach/subscriptions","organizations_url":"https://api.github.com/users/nderkach/orgs","repos_url":"https://api.github.com/users/nderkach/repos","events_url":"https://api.github.com/users/nderkach/events{/privacy}","received_events_url":"https://api.github.com/users/nderkach/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":null,"milestone":null,"comments":3,"created_at":"2015-06-30T05:03:38Z","updated_at":"2015-10-19T17:16:29Z","closed_at":null,"body":"I'm trying to decompile and compile the following APK with debug symbols: https://dl.dropboxusercontent.com/u/5017232/Ticketmaster_1.6.4.1_30-orig.apk\r\n\r\n    ./apktool d -d -f Ticketmaster_1.6.4.1_30-orig.apk -o out\r\n    ./apktool b -d out -o Ticketmaster_1.6.4.1_30-new.apk\r\n\r\nI'm using the latest apktool 2.0.0 with JDK 8. I'm running with the following issues when trying to build the apt back:\r\n\r\n    I: Using Apktool 2.0.0\r\n\tI: Checking whether sources has changed...\r\n\tI: Smaling smali folder into classes.dex...\r\n\tI: Checking whether sources has changed...\r\n\tI: Smaling smali_classes10 folder into classes10.dex...\r\n\tI: Checking whether sources has changed...\r\n\tI: Smaling smali_classes2 folder into classes2.dex...\r\n\tI: Checking whether sources has changed...\r\n\tI: Smaling smali_classes5 folder into classes5.dex...\r\n\tI: Checking whether sources has changed...\r\n\tI: Smaling smali_classes8 folder into classes8.dex...\r\n\tI: Checking whether sources has changed...\r\n\tI: Smaling smali_classes9 folder into classes9.dex...\r\n\tI: Checking whether resources has changed...\r\n\tI: Building resources...\r\n\t/Users/nderkach/Desktop/ticketmaster/out/res/layout/activity_bootscreen.xml:9: error: No resource identifier found for attribute 'insetForeground' in package 'android'\r\n\r\n\t/Users/nderkach/Desktop/ticketmaster/out/res/layout-v21/activity_bootscreen.xml:9: error: No resource identifier found for attribute 'insetForeground' in package 'android'\r\n\r\n\t/Users/nderkach/Desktop/ticketmaster/out/res/layout/adu_walkthrough_activity.xml:6: error: No resource identifier found for attribute 'pageColor' in package 'android'\r\n\r\n\t/Users/nderkach/Desktop/ticketmaster/out/res/layout/edp_combined_activity.xml:7: error: No resource identifier found for attribute 'pstsIndicatorColor' in package 'android'\r\n\r\n\t/Users/nderkach/Desktop/ticketmaster/out/res/layout/horizontal_ticket_recto.xml:6: error: No resource identifier found for attribute 'labelStyle' in package 'android'\r\n\r\n\t/Users/nderkach/Desktop/ticketmaster/out/res/layout/horizontal_ticket_recto.xml:6: error: No resource identifier found for attribute 'valueStyle' in package 'android'\r\n\r\n\t/Users/nderkach/Desktop/ticketmaster/out/res/layout/tm_activity_integrated_listings.xml:34: error: Error: Integer types not allowed (at 'orientation' with value '1').\r\n\r\n\tException in thread \"main\" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/var/folders/nc/9y2gpgzs1gz4wg9mp3spyfnm0000gn/T/brut_util_Jar_6348033727496735282.tmp, p, --debug-mode, --forced-package-id, 127, --min-sdk-version, 15, --target-sdk-version, 22, --version-code, 30, --version-name, 1.6.4.1, -F, /var/folders/nc/9y2gpgzs1gz4wg9mp3spyfnm0000gn/T/APKTOOL6979768093236566769.tmp, -0, arsc, -I, /Users/nderkach/Library/apktool/framework/1.apk, -S, /Users/nderkach/Desktop/ticketmaster/out/res, -M, /Users/nderkach/Desktop/ticketmaster/out/AndroidManifest.xml]\r\n\t\tat brut.androlib.Androlib.buildResourcesFull(Androlib.java:458)\r\n\t\tat brut.androlib.Androlib.buildResources(Androlib.java:396)\r\n\t\tat brut.androlib.Androlib.build(Androlib.java:285)\r\n\t\tat brut.androlib.Androlib.build(Androlib.java:256)\r\n\t\tat brut.apktool.Main.cmdBuild(Main.java:225)\r\n\t\tat brut.apktool.Main.main(Main.java:84)\r\n\tCaused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/var/folders/nc/9y2gpgzs1gz4wg9mp3spyfnm0000gn/T/brut_util_Jar_6348033727496735282.tmp, p, --debug-mode, --forced-package-id, 127, --min-sdk-version, 15, --target-sdk-version, 22, --version-code, 30, --version-name, 1.6.4.1, -F, /var/folders/nc/9y2gpgzs1gz4wg9mp3spyfnm0000gn/T/APKTOOL6979768093236566769.tmp, -0, arsc, -I, /Users/nderkach/Library/apktool/framework/1.apk, -S, /Users/nderkach/Desktop/ticketmaster/out/res, -M, /Users/nderkach/Desktop/ticketmaster/out/AndroidManifest.xml]\r\n\t\tat brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:419)\r\n\t\tat brut.androlib.Androlib.buildResourcesFull(Androlib.java:444)\r\n\t\t... 5 more\r\n\tCaused by: brut.common.BrutException: could not exec command: [/var/folders/nc/9y2gpgzs1gz4wg9mp3spyfnm0000gn/T/brut_util_Jar_6348033727496735282.tmp, p, --debug-mode, --forced-package-id, 127, --min-sdk-version, 15, --target-sdk-version, 22, --version-code, 30, --version-name, 1.6.4.1, -F, /var/folders/nc/9y2gpgzs1gz4wg9mp3spyfnm0000gn/T/APKTOOL6979768093236566769.tmp, -0, arsc, -I, /Users/nderkach/Library/apktool/framework/1.apk, -S, /Users/nderkach/Desktop/ticketmaster/out/res, -M, /Users/nderkach/Desktop/ticketmaster/out/AndroidManifest.xml]\r\n\t\tat brut.util.OS.exec(OS.java:89)\r\n\t\tat brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:413)\r\n\t\t... 6 more\r\n\r\nI've tried to do the same without compiling and decompiling resource files, but then I run into an issue with ```[Fatal Error] AndroidManifest.xml:1:1: Content is not allowed in prolog```"},"comment":{"url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/comments/149285709","html_url":"https://github.com/iBotPeaches/Apktool/issues/983#issuecomment-149285709","issue_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/983","id":149285709,"user":{"login":"paericksen","id":4397404,"avatar_url":"https://avatars.githubusercontent.com/u/4397404?v=3","gravatar_id":"","url":"https://api.github.com/users/paericksen","html_url":"https://github.com/paericksen","followers_url":"https://api.github.com/users/paericksen/followers","following_url":"https://api.github.com/users/paericksen/following{/other_user}","gists_url":"https://api.github.com/users/paericksen/gists{/gist_id}","starred_url":"https://api.github.com/users/paericksen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paericksen/subscriptions","organizations_url":"https://api.github.com/users/paericksen/orgs","repos_url":"https://api.github.com/users/paericksen/repos","events_url":"https://api.github.com/users/paericksen/events{/privacy}","received_events_url":"https://api.github.com/users/paericksen/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T17:16:29Z","updated_at":"2015-10-19T17:16:29Z","body":"I am running into this issue as well."}}