{"action":"created","issue":{"url":"https://api.github.com/repos/JakeWharton/butterknife/issues/1210","repository_url":"https://api.github.com/repos/JakeWharton/butterknife","labels_url":"https://api.github.com/repos/JakeWharton/butterknife/issues/1210/labels{/name}","comments_url":"https://api.github.com/repos/JakeWharton/butterknife/issues/1210/comments","events_url":"https://api.github.com/repos/JakeWharton/butterknife/issues/1210/events","html_url":"https://github.com/JakeWharton/butterknife/issues/1210","id":300138587,"number":1210,"title":"Unable to load 'com.android.builder.Version' After Upgrade Gradle version from 4.2 to 4.4","user":{"login":"Xiaojuanmao","id":9401858,"avatar_url":"https://avatars3.githubusercontent.com/u/9401858?v=4","gravatar_id":"","url":"https://api.github.com/users/Xiaojuanmao","html_url":"https://github.com/Xiaojuanmao","followers_url":"https://api.github.com/users/Xiaojuanmao/followers","following_url":"https://api.github.com/users/Xiaojuanmao/following{/other_user}","gists_url":"https://api.github.com/users/Xiaojuanmao/gists{/gist_id}","starred_url":"https://api.github.com/users/Xiaojuanmao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xiaojuanmao/subscriptions","organizations_url":"https://api.github.com/users/Xiaojuanmao/orgs","repos_url":"https://api.github.com/users/Xiaojuanmao/repos","events_url":"https://api.github.com/users/Xiaojuanmao/events{/privacy}","received_events_url":"https://api.github.com/users/Xiaojuanmao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-26T07:51:59Z","updated_at":"2018-02-26T11:57:35Z","closed_at":null,"author_association":"NONE","body":"Android studio force upgrade gradle version to 4.4:\r\n<img width=\"1116\" alt=\"2018-02-26 3 42 09\" src=\"https://user-images.githubusercontent.com/9401858/36658491-b943efe4-1b0b-11e8-967e-109dc6be2f57.png\">\r\n\r\n\r\nAfter upgrade gradle version from 4.2 to 4.4, gradle sync failed:\r\n\r\n<img width=\"1137\" alt=\"2018-02-26 3 36 08\" src=\"https://user-images.githubusercontent.com/9401858/36658338-0c247176-1b0b-11e8-92e1-a003371a7677.png\">\r\n\r\nproject gradle : \r\n`classpath 'com.android.tools.build:gradle:3.0.1'`\r\n`classpath \"com.jakewharton:butterknife-gradle-plugin:9.0.0-SNAPSHOT\"`\r\n`buildToolsVersion \"26.0.2\"`\r\n`compileSdkVersion 26`\r\n\r\nThen i found some issues suggest downgrade from 9.0.0 to 8.8.1, but I got this : \r\n<img width=\"1161\" alt=\"2018-02-26 3 46 29\" src=\"https://user-images.githubusercontent.com/9401858/36658601-45e8f656-1b0c-11e8-93b1-8f8e59f64998.png\">\r\n\r\nThen I downgrade to 8.4.0, everything is ok"},"comment":{"url":"https://api.github.com/repos/JakeWharton/butterknife/issues/comments/368477704","html_url":"https://github.com/JakeWharton/butterknife/issues/1210#issuecomment-368477704","issue_url":"https://api.github.com/repos/JakeWharton/butterknife/issues/1210","id":368477704,"user":{"login":"vuongp","id":8656512,"avatar_url":"https://avatars3.githubusercontent.com/u/8656512?v=4","gravatar_id":"","url":"https://api.github.com/users/vuongp","html_url":"https://github.com/vuongp","followers_url":"https://api.github.com/users/vuongp/followers","following_url":"https://api.github.com/users/vuongp/following{/other_user}","gists_url":"https://api.github.com/users/vuongp/gists{/gist_id}","starred_url":"https://api.github.com/users/vuongp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuongp/subscriptions","organizations_url":"https://api.github.com/users/vuongp/orgs","repos_url":"https://api.github.com/users/vuongp/repos","events_url":"https://api.github.com/users/vuongp/events{/privacy}","received_events_url":"https://api.github.com/users/vuongp/received_events","type":"User","site_admin":false},"created_at":"2018-02-26T11:57:35Z","updated_at":"2018-02-26T11:57:35Z","author_association":"NONE","body":"I had the same issue, looks like there is a new version. https://oss.sonatype.org/content/repositories/snapshots/com/jakewharton/butterknife-gradle-plugin/9.0.0-SNAPSHOT/\r\n\r\nA quick fix would be to switch to this version.\r\n`classpath 'com.jakewharton:butterknife-gradle-plugin-9.0.0-20180212.024336-29'`\r\n\r\nHowever I chose to add the jar locally in case it happens again or the above version is not available anymore."}}
{"actor":{"display_login":"vuongp"}}