{"action":"created","issue":{"url":"https://api.github.com/repos/Tencent/tinker/issues/92","repository_url":"https://api.github.com/repos/Tencent/tinker","labels_url":"https://api.github.com/repos/Tencent/tinker/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/Tencent/tinker/issues/92/comments","events_url":"https://api.github.com/repos/Tencent/tinker/issues/92/events","html_url":"https://github.com/Tencent/tinker/issues/92","id":180021687,"number":92,"title":"AndroidMainfest解析错误","user":{"login":"yanunon","id":1220143,"avatar_url":"https://avatars.githubusercontent.com/u/1220143?v=3","gravatar_id":"","url":"https://api.github.com/users/yanunon","html_url":"https://github.com/yanunon","followers_url":"https://api.github.com/users/yanunon/followers","following_url":"https://api.github.com/users/yanunon/following{/other_user}","gists_url":"https://api.github.com/users/yanunon/gists{/gist_id}","starred_url":"https://api.github.com/users/yanunon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanunon/subscriptions","organizations_url":"https://api.github.com/users/yanunon/orgs","repos_url":"https://api.github.com/users/yanunon/repos","events_url":"https://api.github.com/users/yanunon/events{/privacy}","received_events_url":"https://api.github.com/users/yanunon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-29T11:21:08Z","updated_at":"2016-09-29T11:27:29Z","closed_at":"2016-09-29T11:27:29Z","body":"AndroidManifest里面如果写了`<uses-feature android:glEsVersion=\"0x00020000\" />`会导致生成patch错误。\r\n\r\n> java.lang.NumberFormatException: For input string: \"0x20000\"\r\n        at java.lang.NumberFormatException.forInputString(Unknown Source)\r\n        at java.lang.Integer.parseInt(Unknown Source)\r\n        at java.lang.Integer.valueOf(Unknown Source)\r\n        at net.dongliu.apk.parser.struct.xml.Attributes.getInt(Attributes.java:40)\r\n        at net.dongliu.apk.parser.parser.ApkMetaTranslator.onStartTag(ApkMetaTranslator.java:56)\r\n        at net.dongliu.apk.parser.parser.CompositeXmlStreamer.onStartTag(CompositeXmlStreamer.java:19)\r\n        at net.dongliu.apk.parser.parser.BinaryXmlParser.readXmlNodeStartTag(BinaryXmlParser.java:189)\r\n        at net.dongliu.apk.parser.parser.BinaryXmlParser.parse(BinaryXmlParser.java:101)\r\n        at net.dongliu.apk.parser.AbstractApkParser.transBinaryXml(AbstractApkParser.java:164)\r\n        at net.dongliu.apk.parser.AbstractApkParser.parseManifestXml(AbstractApkParser.java:123)\r\n        at net.dongliu.apk.parser.AbstractApkParser.parseApkMeta(AbstractApkParser.java:105)\r\n        at net.dongliu.apk.parser.AbstractApkParser.getApkMeta(AbstractApkParser.java:56)\r\n        at com.tencent.tinker.build.apkparser.AndroidManifest.getAndroidManifest(AndroidManifest.java:66)\r\n        at com.tencent.tinker.build.decoder.ManifestDecoder.patch(ManifestDecoder.java:45)\r\n        at com.tencent.tinker.build.decoder.ApkDecoder.patch(ApkDecoder.java:109)\r\n        at com.tencent.tinker.build.patch.Runner.tinkerPatch(Runner.java:65)\r\n        at com.tencent.tinker.patch.CliMain.run(CliMain.java:103)\r\n        at com.tencent.tinker.patch.CliMain.main(CliMain.java:54)\r\n"},"comment":{"url":"https://api.github.com/repos/Tencent/tinker/issues/comments/250440520","html_url":"https://github.com/Tencent/tinker/issues/92#issuecomment-250440520","issue_url":"https://api.github.com/repos/Tencent/tinker/issues/92","id":250440520,"user":{"login":"shwenzhang","id":8335303,"avatar_url":"https://avatars.githubusercontent.com/u/8335303?v=3","gravatar_id":"","url":"https://api.github.com/users/shwenzhang","html_url":"https://github.com/shwenzhang","followers_url":"https://api.github.com/users/shwenzhang/followers","following_url":"https://api.github.com/users/shwenzhang/following{/other_user}","gists_url":"https://api.github.com/users/shwenzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/shwenzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shwenzhang/subscriptions","organizations_url":"https://api.github.com/users/shwenzhang/orgs","repos_url":"https://api.github.com/users/shwenzhang/repos","events_url":"https://api.github.com/users/shwenzhang/events{/privacy}","received_events_url":"https://api.github.com/users/shwenzhang/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T11:27:29Z","updated_at":"2016-09-29T11:27:29Z","body":"#54 "}}
{"actor":{"display_login":"shwenzhang"}}