{"action":"created","issue":{"url":"https://api.github.com/repos/dropbox/dropbox-sdk-java/issues/65","repository_url":"https://api.github.com/repos/dropbox/dropbox-sdk-java","labels_url":"https://api.github.com/repos/dropbox/dropbox-sdk-java/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/dropbox/dropbox-sdk-java/issues/65/comments","events_url":"https://api.github.com/repos/dropbox/dropbox-sdk-java/issues/65/events","html_url":"https://github.com/dropbox/dropbox-sdk-java/issues/65","id":174497292,"number":65,"title":"Error when using DbxRequestConfig","user":{"login":"navintestapi","id":12999557,"avatar_url":"https://avatars.githubusercontent.com/u/12999557?v=3","gravatar_id":"","url":"https://api.github.com/users/navintestapi","html_url":"https://github.com/navintestapi","followers_url":"https://api.github.com/users/navintestapi/followers","following_url":"https://api.github.com/users/navintestapi/following{/other_user}","gists_url":"https://api.github.com/users/navintestapi/gists{/gist_id}","starred_url":"https://api.github.com/users/navintestapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/navintestapi/subscriptions","organizations_url":"https://api.github.com/users/navintestapi/orgs","repos_url":"https://api.github.com/users/navintestapi/repos","events_url":"https://api.github.com/users/navintestapi/events{/privacy}","received_events_url":"https://api.github.com/users/navintestapi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-01T11:13:00Z","updated_at":"2016-09-01T17:29:15Z","closed_at":null,"body":"When using public DbxRequestConfig(String clientIdentifier) , I get the following error at run time:\r\n\r\nException in thread \"Thread-1\" java.lang.NoSuchMethodError: com.dropbox.core.DbxRequestConfig.<init>(Ljava/lang/String;)V\r\n\r\nHowever, using the deprecated version works fine:\r\npublic DbxRequestConfig(String clientIdentifier, /*@Nullable*/ String userLocale)\r\n\r\nDbxRequestConfig requestConfig = new DbxRequestConfig(\"MyApp/1.0\"); does not work\r\nDbxRequestConfig requestConfig = new DbxRequestConfig(\"MyApp/1.0\", \"en-US\"); works\r\n"},"comment":{"url":"https://api.github.com/repos/dropbox/dropbox-sdk-java/issues/comments/244151554","html_url":"https://github.com/dropbox/dropbox-sdk-java/issues/65#issuecomment-244151554","issue_url":"https://api.github.com/repos/dropbox/dropbox-sdk-java/issues/65","id":244151554,"user":{"login":"greg-db","id":8700917,"avatar_url":"https://avatars.githubusercontent.com/u/8700917?v=3","gravatar_id":"","url":"https://api.github.com/users/greg-db","html_url":"https://github.com/greg-db","followers_url":"https://api.github.com/users/greg-db/followers","following_url":"https://api.github.com/users/greg-db/following{/other_user}","gists_url":"https://api.github.com/users/greg-db/gists{/gist_id}","starred_url":"https://api.github.com/users/greg-db/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greg-db/subscriptions","organizations_url":"https://api.github.com/users/greg-db/orgs","repos_url":"https://api.github.com/users/greg-db/repos","events_url":"https://api.github.com/users/greg-db/events{/privacy}","received_events_url":"https://api.github.com/users/greg-db/received_events","type":"User","site_admin":false},"created_at":"2016-09-01T17:29:15Z","updated_at":"2016-09-01T17:29:15Z","body":"[Cross-linking for reference: https://stackoverflow.com/questions/39270059/error-when-using-dbxrequestconfig-in-sdk-2-1-1 ]\r\n\r\nThanks for the report. We'll look into it. You can build it this way instead though:\r\n\r\n```\r\nDbxRequestConfig requestConfig = DbxRequestConfig.newBuilder(\"MyApp/1.0\").build();\r\n```\r\nLet me know if that doesn't work for you either."}}
{"actor":{"display_login":"greg-db"}}