{"action":"created","issue":{"url":"https://api.github.com/repos/greenrobot/greenDAO/issues/471","repository_url":"https://api.github.com/repos/greenrobot/greenDAO","labels_url":"https://api.github.com/repos/greenrobot/greenDAO/issues/471/labels{/name}","comments_url":"https://api.github.com/repos/greenrobot/greenDAO/issues/471/comments","events_url":"https://api.github.com/repos/greenrobot/greenDAO/issues/471/events","html_url":"https://github.com/greenrobot/greenDAO/issues/471","id":183267226,"number":471,"title":"Error: Could not find method greendao() for arguments on project ","user":{"login":"bkhezry","id":91809,"avatar_url":"https://avatars.githubusercontent.com/u/91809?v=3","gravatar_id":"","url":"https://api.github.com/users/bkhezry","html_url":"https://github.com/bkhezry","followers_url":"https://api.github.com/users/bkhezry/followers","following_url":"https://api.github.com/users/bkhezry/following{/other_user}","gists_url":"https://api.github.com/users/bkhezry/gists{/gist_id}","starred_url":"https://api.github.com/users/bkhezry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkhezry/subscriptions","organizations_url":"https://api.github.com/users/bkhezry/orgs","repos_url":"https://api.github.com/users/bkhezry/repos","events_url":"https://api.github.com/users/bkhezry/events{/privacy}","received_events_url":"https://api.github.com/users/bkhezry/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"greenrobot-team","id":13865709,"avatar_url":"https://avatars.githubusercontent.com/u/13865709?v=3","gravatar_id":"","url":"https://api.github.com/users/greenrobot-team","html_url":"https://github.com/greenrobot-team","followers_url":"https://api.github.com/users/greenrobot-team/followers","following_url":"https://api.github.com/users/greenrobot-team/following{/other_user}","gists_url":"https://api.github.com/users/greenrobot-team/gists{/gist_id}","starred_url":"https://api.github.com/users/greenrobot-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenrobot-team/subscriptions","organizations_url":"https://api.github.com/users/greenrobot-team/orgs","repos_url":"https://api.github.com/users/greenrobot-team/repos","events_url":"https://api.github.com/users/greenrobot-team/events{/privacy}","received_events_url":"https://api.github.com/users/greenrobot-team/received_events","type":"User","site_admin":false},"assignees":[{"login":"greenrobot-team","id":13865709,"avatar_url":"https://avatars.githubusercontent.com/u/13865709?v=3","gravatar_id":"","url":"https://api.github.com/users/greenrobot-team","html_url":"https://github.com/greenrobot-team","followers_url":"https://api.github.com/users/greenrobot-team/followers","following_url":"https://api.github.com/users/greenrobot-team/following{/other_user}","gists_url":"https://api.github.com/users/greenrobot-team/gists{/gist_id}","starred_url":"https://api.github.com/users/greenrobot-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenrobot-team/subscriptions","organizations_url":"https://api.github.com/users/greenrobot-team/orgs","repos_url":"https://api.github.com/users/greenrobot-team/repos","events_url":"https://api.github.com/users/greenrobot-team/events{/privacy}","received_events_url":"https://api.github.com/users/greenrobot-team/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-10-16T13:34:49Z","updated_at":"2016-12-12T07:24:27Z","closed_at":"2016-10-18T06:15:45Z","body":"I add libraries in app build.gradle:\n\n```\ncompile 'org.greenrobot:greendao-generator:3.2.0'\ncompile 'org.greenrobot:greendao:3.2.0'\n```\n\nand appy plugin in app build.gradle\n\n`apply plugin: 'org.greenrobot.greendao'`\n\nin root build.gradle add those class path:\n\n```\nclasspath 'org.greenrobot:greendao-gradle-plugin:3.2.0\nclasspath 'com.android.tools.build:gradle:2.2.1'\n```\n\nafter add \n\n```\ngreendao {\n    schemaVersion 1\n}\n```\n\nreturn this error:\n\n`Error: Could not find method greendao() for arguments on project ':app' of type org.gradle.api.Project.`\n\nwhat can I do for solve this problem?\n"},"comment":{"url":"https://api.github.com/repos/greenrobot/greenDAO/issues/comments/266359675","html_url":"https://github.com/greenrobot/greenDAO/issues/471#issuecomment-266359675","issue_url":"https://api.github.com/repos/greenrobot/greenDAO/issues/471","id":266359675,"user":{"login":"greenrobot-team","id":13865709,"avatar_url":"https://avatars.githubusercontent.com/u/13865709?v=3","gravatar_id":"","url":"https://api.github.com/users/greenrobot-team","html_url":"https://github.com/greenrobot-team","followers_url":"https://api.github.com/users/greenrobot-team/followers","following_url":"https://api.github.com/users/greenrobot-team/following{/other_user}","gists_url":"https://api.github.com/users/greenrobot-team/gists{/gist_id}","starred_url":"https://api.github.com/users/greenrobot-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenrobot-team/subscriptions","organizations_url":"https://api.github.com/users/greenrobot-team/orgs","repos_url":"https://api.github.com/users/greenrobot-team/repos","events_url":"https://api.github.com/users/greenrobot-team/events{/privacy}","received_events_url":"https://api.github.com/users/greenrobot-team/received_events","type":"User","site_admin":false},"created_at":"2016-12-12T07:24:27Z","updated_at":"2016-12-12T07:24:27Z","body":"@gitzsl This is no longer relevant. Just make sure to use the latest version of the Android and greenDAO Gradle Plugin. See [the introduction guide](http://greenrobot.org/greendao/documentation/introduction/)."}}
{"actor":{"display_login":"greenrobot-team"}}