{"action":"created","issue":{"url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/1132","labels_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/1132/labels{/name}","comments_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/1132/comments","events_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/1132/events","html_url":"https://github.com/iBotPeaches/Apktool/issues/1132","id":125825815,"number":1132,"title":" error: Public symbol style/XXXXXXXXXX declared here is not defined.","user":{"login":"Henry-T","id":4081321,"avatar_url":"https://avatars.githubusercontent.com/u/4081321?v=3","gravatar_id":"","url":"https://api.github.com/users/Henry-T","html_url":"https://github.com/Henry-T","followers_url":"https://api.github.com/users/Henry-T/followers","following_url":"https://api.github.com/users/Henry-T/following{/other_user}","gists_url":"https://api.github.com/users/Henry-T/gists{/gist_id}","starred_url":"https://api.github.com/users/Henry-T/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Henry-T/subscriptions","organizations_url":"https://api.github.com/users/Henry-T/orgs","repos_url":"https://api.github.com/users/Henry-T/repos","events_url":"https://api.github.com/users/Henry-T/events{/privacy}","received_events_url":"https://api.github.com/users/Henry-T/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/iBotPeaches/Apktool/labels/Waiting%20for%20issuer","name":"Waiting for issuer","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-10T15:20:07Z","updated_at":"2016-01-10T15:27:07Z","closed_at":null,"body":"I encounter this problem when repackaging.\r\n\r\n```apktool b``` failed because of \r\n\r\n```bash\r\npublic.xml:787: error: Public symbol style/unipay_dialog_land declared here is not defined.\r\n```\r\n\r\nThe style **unipay_dialog_land** is defined in android project like this:\r\n\r\n```xml\r\n<style name=\"unipay_dialog.land\">\r\n    <item name=\"android:layout_marginLeft\">80dp</item>\r\n    <item name=\"android:layout_marginRight\">80dp</item>\r\n</style>\r\n```\r\n\r\nSo it is looking for **unipay_dialog_land** but declaration is **unipay_dialog.land**.\r\n\r\nI don't know much about android theme. But as a feature, I think theme parenting is widely used. Maybe its result of some other things, haven't get a clue by now.\r\n\r\n\r\n> style/XXXXX not defined is the only error type\r\n\r\n![image](https://cloud.githubusercontent.com/assets/4081321/12222212/9557e2aa-b7f0-11e5-862e-0371fce09aa0.png)\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/comments/170359994","html_url":"https://github.com/iBotPeaches/Apktool/issues/1132#issuecomment-170359994","issue_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/1132","id":170359994,"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":"2016-01-10T15:27:07Z","updated_at":"2016-01-10T15:27:07Z","body":"So the decode to the `styles.xml` fail and generate the wrong name? IE it wrote `unipay_dialog.land` when it should have used `unipay_dialog_land`.\r\n\r\nOr was this just a badly written application that is only be detecting with a more restrictive aapt binary? APK would help :)"}}