{"action":"created","issue":{"url":"https://api.github.com/repos/thomasnield/kotlin-statistics/issues/31","repository_url":"https://api.github.com/repos/thomasnield/kotlin-statistics","labels_url":"https://api.github.com/repos/thomasnield/kotlin-statistics/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/thomasnield/kotlin-statistics/issues/31/comments","events_url":"https://api.github.com/repos/thomasnield/kotlin-statistics/issues/31/events","html_url":"https://github.com/thomasnield/kotlin-statistics/issues/31","id":375555573,"node_id":"MDU6SXNzdWUzNzU1NTU1NzM=","number":31,"title":"Cannot fit requested classes in a single dex file. Try supplying a main-dex list.","user":{"login":"cepages","id":5259830,"node_id":"MDQ6VXNlcjUyNTk4MzA=","avatar_url":"https://avatars1.githubusercontent.com/u/5259830?v=4","gravatar_id":"","url":"https://api.github.com/users/cepages","html_url":"https://github.com/cepages","followers_url":"https://api.github.com/users/cepages/followers","following_url":"https://api.github.com/users/cepages/following{/other_user}","gists_url":"https://api.github.com/users/cepages/gists{/gist_id}","starred_url":"https://api.github.com/users/cepages/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cepages/subscriptions","organizations_url":"https://api.github.com/users/cepages/orgs","repos_url":"https://api.github.com/users/cepages/repos","events_url":"https://api.github.com/users/cepages/events{/privacy}","received_events_url":"https://api.github.com/users/cepages/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-30T15:38:42Z","updated_at":"2018-11-01T15:59:55Z","closed_at":"2018-11-01T15:59:55Z","author_association":"NONE","body":"When I include the dependency in gradle:\r\n\r\n```\r\n    implementation 'org.nield:kotlin-statistics:1.1.3'\r\n```\r\n\r\nI get this error when I run the app:\r\n\r\n```\r\nCannot fit requested classes in a single dex file. Try supplying a main-dex list.\r\n# methods: 67126 > 65536\r\nMessage{kind=ERROR, text=Cannot fit requested classes in a single dex file. Try supplying a main-dex list.\r\n# methods: 67126 > 65536, sources=[Unknown source file], tool name=Optional.of(D8)}\r\n```\r\n\r\nAny idea what I can do? \r\nThanks"},"comment":{"url":"https://api.github.com/repos/thomasnield/kotlin-statistics/issues/comments/435089339","html_url":"https://github.com/thomasnield/kotlin-statistics/issues/31#issuecomment-435089339","issue_url":"https://api.github.com/repos/thomasnield/kotlin-statistics/issues/31","id":435089339,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTA4OTMzOQ==","user":{"login":"cepages","id":5259830,"node_id":"MDQ6VXNlcjUyNTk4MzA=","avatar_url":"https://avatars1.githubusercontent.com/u/5259830?v=4","gravatar_id":"","url":"https://api.github.com/users/cepages","html_url":"https://github.com/cepages","followers_url":"https://api.github.com/users/cepages/followers","following_url":"https://api.github.com/users/cepages/following{/other_user}","gists_url":"https://api.github.com/users/cepages/gists{/gist_id}","starred_url":"https://api.github.com/users/cepages/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cepages/subscriptions","organizations_url":"https://api.github.com/users/cepages/orgs","repos_url":"https://api.github.com/users/cepages/repos","events_url":"https://api.github.com/users/cepages/events{/privacy}","received_events_url":"https://api.github.com/users/cepages/received_events","type":"User","site_admin":false},"created_at":"2018-11-01T15:59:55Z","updated_at":"2018-11-01T15:59:55Z","author_association":"NONE","body":"It seems adding `multidex` to gradle fixes the problem\r\n\r\n`implementation 'com.android.support:multidex:1.0.3'`"}}
{"actor":{"display_login":"cepages"}}