{"action":"created","issue":{"url":"https://api.github.com/repos/Tencent/tinker/issues/22","repository_url":"https://api.github.com/repos/Tencent/tinker","labels_url":"https://api.github.com/repos/Tencent/tinker/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/Tencent/tinker/issues/22/comments","events_url":"https://api.github.com/repos/Tencent/tinker/issues/22/events","html_url":"https://github.com/Tencent/tinker/issues/22","id":179157364,"number":22,"title":"onPatchPackageCheckFail","user":{"login":"liuxang","id":17467300,"avatar_url":"https://avatars.githubusercontent.com/u/17467300?v=3","gravatar_id":"","url":"https://api.github.com/users/liuxang","html_url":"https://github.com/liuxang","followers_url":"https://api.github.com/users/liuxang/followers","following_url":"https://api.github.com/users/liuxang/following{/other_user}","gists_url":"https://api.github.com/users/liuxang/gists{/gist_id}","starred_url":"https://api.github.com/users/liuxang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liuxang/subscriptions","organizations_url":"https://api.github.com/users/liuxang/orgs","repos_url":"https://api.github.com/users/liuxang/repos","events_url":"https://api.github.com/users/liuxang/events{/privacy}","received_events_url":"https://api.github.com/users/liuxang/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Tencent/tinker/labels/bug","name":"bug","color":"ee0701"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-09-26T07:29:23Z","updated_at":"2016-09-27T06:17:28Z","closed_at":null,"body":"我创建了一个工程\r\n```java \r\n...\r\nbuildConfig {\r\n   applyMapping = getApplyMappingPath()\r\n   applyResourceMapping = getApplyResourceMappingPath()\r\n   tinkerId = \"1.0\"\r\n}\r\n...\r\n```\r\n\r\n配置和sample基本上一致，只对自己定义的某些东西进行了修改的。\r\ntinkerId 写死为1.0\r\nApplication只进行了默认\r\n```java\r\n@Override\r\npublic void onBaseContextAttached(Context base) {\r\n        super.onBaseContextAttached(base);\r\n        TinkerInstaller.install(this);\r\n}\r\n```\r\n但是始终无法成功，请问还有哪些需要注意的地方吗？\r\n```java\r\nE/Tinker.UpgradePatch: UpgradePatch tryPatch:onPatchPackageCheckFail\r\nI/Tinker.DefaultPatchReporter: patchReporter: package check failed. path:/storage/emulated/0/patch_signed_7zip.apk, isUpgrade:true, code:-7\r\n```"},"comment":{"url":"https://api.github.com/repos/Tencent/tinker/issues/comments/249775973","html_url":"https://github.com/Tencent/tinker/issues/22#issuecomment-249775973","issue_url":"https://api.github.com/repos/Tencent/tinker/issues/22","id":249775973,"user":{"login":"DozenWang","id":3230964,"avatar_url":"https://avatars.githubusercontent.com/u/3230964?v=3","gravatar_id":"","url":"https://api.github.com/users/DozenWang","html_url":"https://github.com/DozenWang","followers_url":"https://api.github.com/users/DozenWang/followers","following_url":"https://api.github.com/users/DozenWang/following{/other_user}","gists_url":"https://api.github.com/users/DozenWang/gists{/gist_id}","starred_url":"https://api.github.com/users/DozenWang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DozenWang/subscriptions","organizations_url":"https://api.github.com/users/DozenWang/orgs","repos_url":"https://api.github.com/users/DozenWang/repos","events_url":"https://api.github.com/users/DozenWang/events{/privacy}","received_events_url":"https://api.github.com/users/DozenWang/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T06:17:28Z","updated_at":"2016-09-27T06:17:28Z","body":"之前我也遇到了，在thinkerPatch 中加入以下代码，即可解决\r\npackageConfig {\r\n  ....\r\n  configField(\"TINKER_ID\", \"1.0\")\r\n\r\n}\r\n"}}
{"actor":{"display_login":"DozenWang"}}