{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4072","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-native","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4072/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4072/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4072/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/4072","id":135626107,"number":4072,"title":"Syncing Mapbox gradle dependencies causes API V23 conflicts","user":{"login":"Jayroo5245","id":1016806,"avatar_url":"https://avatars.githubusercontent.com/u/1016806?v=3","gravatar_id":"","url":"https://api.github.com/users/Jayroo5245","html_url":"https://github.com/Jayroo5245","followers_url":"https://api.github.com/users/Jayroo5245/followers","following_url":"https://api.github.com/users/Jayroo5245/following{/other_user}","gists_url":"https://api.github.com/users/Jayroo5245/gists{/gist_id}","starred_url":"https://api.github.com/users/Jayroo5245/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jayroo5245/subscriptions","organizations_url":"https://api.github.com/users/Jayroo5245/orgs","repos_url":"https://api.github.com/users/Jayroo5245/repos","events_url":"https://api.github.com/users/Jayroo5245/events{/privacy}","received_events_url":"https://api.github.com/users/Jayroo5245/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/Android","name":"Android","color":"5319e7"},{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/support","name":"support","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-23T04:09:02Z","updated_at":"2016-02-23T15:30:03Z","closed_at":null,"body":"Hello all,\r\nI am attempting to include mapbox maps into an application and I am building with target 22 but it is attempting to make me upgrade to appcompatv7 23.0.1. \r\n\r\nIE:\r\n```\r\n     compileSdkVersion 22\r\n     buildToolsVersion \"22.0.1\"\r\n```\r\n\r\nWhen I add this line to my build.gradle dependencies per the documentation:\r\n```\r\n    //MapBox - https://www.mapbox.com/android-sdk/#gradle\r\n    compile ('com.mapbox.mapboxsdk:mapbox-android-sdk:3.2.0@aar'){\r\n        transitive=true\r\n    }\r\n```\r\n\r\n1. Error here: https://drive.google.com/file/d/0B-K7GJrF0w9RSmxFNFBTVVBxSG8/view?usp=sharing\r\n2. build.gradle: https://drive.google.com/file/d/0B-K7GJrF0w9RaWNQNUFLWV9IcDg/view?usp=sharing\r\n3. Here is a video: https://drive.google.com/file/d/0B-K7GJrF0w9ReU5OVkpnay1aX28/view?usp=sharing\r\n\r\nSpamming @zugaldia and @tobrun \r\n\r\nPS: One other item, if i upgrade my target sdk to 23 and all my com.android.supports to 23's then it compiles fine.\r\n\r\nIE:\r\n```\r\n    compile 'com.android.support:appcompat-v7:23.0.0'\r\n    compile 'com.android.support:design:23.0.0'\r\n    compile 'com.android.support:cardview-v7:23.0.0'\r\n    compile 'com.android.support:recyclerview-v7:23.0.0'\r\n```\r\n\r\nThanks! Jared"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/187743938","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/4072#issuecomment-187743938","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4072","id":187743938,"user":{"login":"bleege","id":989928,"avatar_url":"https://avatars.githubusercontent.com/u/989928?v=3","gravatar_id":"","url":"https://api.github.com/users/bleege","html_url":"https://github.com/bleege","followers_url":"https://api.github.com/users/bleege/followers","following_url":"https://api.github.com/users/bleege/following{/other_user}","gists_url":"https://api.github.com/users/bleege/gists{/gist_id}","starred_url":"https://api.github.com/users/bleege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleege/subscriptions","organizations_url":"https://api.github.com/users/bleege/orgs","repos_url":"https://api.github.com/users/bleege/repos","events_url":"https://api.github.com/users/bleege/events{/privacy}","received_events_url":"https://api.github.com/users/bleege/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T15:30:03Z","updated_at":"2016-02-23T15:30:03Z","body":"@Jayroo5245 Thank you for the super detailed video showing exactly what's going on.  It saves a lot of back and forth trying to discern the actual issue.  I wish more people would do this when they have questions.  :smiley: \r\n\r\nI understand that you want to compile your app with Support Libraries at Version 22, while the Mapbox Android SDK has moved on to the latest Version 23.  As @tobrun mentioned above our practice is to keep current with Google's latest Support Library releases and that this does allow apps using the Mapbox Android SDK to run on devices in [our current support range of Android API 15 / Ice Cream Sandwich and above](https://www.mapbox.com/android-sdk/#supported_android_versions).\r\n\r\nIt's unclear what the perfect solution is here, as if we changed the Support Libraries to Version 22 then we'd miss out on bug fixes and other improvements that come via Version 23 which would then impact other customers of the SDK.  It's also unclear what to do when the inevitable question would arise from someone who wanted to use Support Library Version 21 or 20 or 19 in their apps instead of \"being forced to use Version 22\".\r\n\r\nWe're open to suggestions on this topic and would be happy to consider them."}}