{"action":"created","issue":{"url":"https://api.github.com/repos/osmdroid/osmdroid/issues/300","repository_url":"https://api.github.com/repos/osmdroid/osmdroid","labels_url":"https://api.github.com/repos/osmdroid/osmdroid/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/osmdroid/osmdroid/issues/300/comments","events_url":"https://api.github.com/repos/osmdroid/osmdroid/issues/300/events","html_url":"https://github.com/osmdroid/osmdroid/issues/300","id":148471457,"number":300,"title":"cannot build the `Map Tile packager` using gradle","user":{"login":"roostaamir","id":10849094,"avatar_url":"https://avatars.githubusercontent.com/u/10849094?v=3","gravatar_id":"","url":"https://api.github.com/users/roostaamir","html_url":"https://github.com/roostaamir","followers_url":"https://api.github.com/users/roostaamir/followers","following_url":"https://api.github.com/users/roostaamir/following{/other_user}","gists_url":"https://api.github.com/users/roostaamir/gists{/gist_id}","starred_url":"https://api.github.com/users/roostaamir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roostaamir/subscriptions","organizations_url":"https://api.github.com/users/roostaamir/orgs","repos_url":"https://api.github.com/users/roostaamir/repos","events_url":"https://api.github.com/users/roostaamir/events{/privacy}","received_events_url":"https://api.github.com/users/roostaamir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":27,"created_at":"2016-04-14T20:18:59Z","updated_at":"2016-04-25T22:41:19Z","closed_at":null,"body":"I am trying to build the tile packager in order to build an offline map. But I am unable to build the tile packager using the `gradle compilejava` command. I get the two following errors:\r\n\r\n> > Cannot resolve external dependency org.apache.httpcomponents:httpmime:4.0.1 be\r\n> cause no repositories are defined.\r\n>   Required by:\r\n>       :OSMMapTilePackager:unspecified\r\n> > Cannot resolve external dependency org.apache.james:apache-mime4j:0.6 because\r\n> no repositories are defined.\r\n>   Required by:\r\n>       :OSMMapTilePackager:unspecified\r\n\r\nhow can I resolve this?"},"comment":{"url":"https://api.github.com/repos/osmdroid/osmdroid/issues/comments/214552826","html_url":"https://github.com/osmdroid/osmdroid/issues/300#issuecomment-214552826","issue_url":"https://api.github.com/repos/osmdroid/osmdroid/issues/300","id":214552826,"user":{"login":"spyhunter99","id":1975321,"avatar_url":"https://avatars.githubusercontent.com/u/1975321?v=3","gravatar_id":"","url":"https://api.github.com/users/spyhunter99","html_url":"https://github.com/spyhunter99","followers_url":"https://api.github.com/users/spyhunter99/followers","following_url":"https://api.github.com/users/spyhunter99/following{/other_user}","gists_url":"https://api.github.com/users/spyhunter99/gists{/gist_id}","starred_url":"https://api.github.com/users/spyhunter99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyhunter99/subscriptions","organizations_url":"https://api.github.com/users/spyhunter99/orgs","repos_url":"https://api.github.com/users/spyhunter99/repos","events_url":"https://api.github.com/users/spyhunter99/events{/privacy}","received_events_url":"https://api.github.com/users/spyhunter99/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T22:41:19Z","updated_at":"2016-04-25T22:41:19Z","body":"1) yes, the default tile loading mechanism will scan all tile archives for a matching source/z/x/y file.\r\n2) i think the answer is yes and have attempted it be was able to figure out it out. I think you can return a default 256x256 image if no tile is available for that source and zoom level. I think it needs to be in the MapTileModuleProviderBase."}}