{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/17926","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/17926/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/17926/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/17926/events","html_url":"https://github.com/flutter/flutter/issues/17926","id":326690391,"number":17926,"title":"Improvement suggestion to help to fix Android issues dependencies hard to find","user":{"login":"acrozes","id":737486,"avatar_url":"https://avatars0.githubusercontent.com/u/737486?v=4","gravatar_id":"","url":"https://api.github.com/users/acrozes","html_url":"https://github.com/acrozes","followers_url":"https://api.github.com/users/acrozes/followers","following_url":"https://api.github.com/users/acrozes/following{/other_user}","gists_url":"https://api.github.com/users/acrozes/gists{/gist_id}","starred_url":"https://api.github.com/users/acrozes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acrozes/subscriptions","organizations_url":"https://api.github.com/users/acrozes/orgs","repos_url":"https://api.github.com/users/acrozes/repos","events_url":"https://api.github.com/users/acrozes/events{/privacy}","received_events_url":"https://api.github.com/users/acrozes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-25T23:41:55Z","updated_at":"2018-05-28T17:01:04Z","closed_at":null,"author_association":"NONE","body":"When we add lot of packages, there are often the same Android dependency with some incompatibles versions (or too old versions), added to the flutter project.\r\nSo, when we add or upgrade packages, a warning message to explain which Android dependency is problematic would be very helpfull.\r\nThen we can easly fix the version in the file app\\build.gradle like that way: \r\n\r\n```\r\n[...]\r\nconfigurations.all {\r\n    resolutionStrategy {\r\n        force 'com.google.android.gms:play-services-location:15.0.0'\r\n    }\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/392570858","html_url":"https://github.com/flutter/flutter/issues/17926#issuecomment-392570858","issue_url":"https://api.github.com/repos/flutter/flutter/issues/17926","id":392570858,"user":{"login":"gerryhigh","id":479802,"avatar_url":"https://avatars0.githubusercontent.com/u/479802?v=4","gravatar_id":"","url":"https://api.github.com/users/gerryhigh","html_url":"https://github.com/gerryhigh","followers_url":"https://api.github.com/users/gerryhigh/followers","following_url":"https://api.github.com/users/gerryhigh/following{/other_user}","gists_url":"https://api.github.com/users/gerryhigh/gists{/gist_id}","starred_url":"https://api.github.com/users/gerryhigh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerryhigh/subscriptions","organizations_url":"https://api.github.com/users/gerryhigh/orgs","repos_url":"https://api.github.com/users/gerryhigh/repos","events_url":"https://api.github.com/users/gerryhigh/events{/privacy}","received_events_url":"https://api.github.com/users/gerryhigh/received_events","type":"User","site_admin":false},"created_at":"2018-05-28T17:01:04Z","updated_at":"2018-05-28T17:01:04Z","author_association":"NONE","body":"I just got bit by this issue. I'm using both a [location package](https://pub.dartlang.org/packages/location) and[ google_maps_flutter package](https://github.com/flutter/plugins/tree/master/packages/google_maps_flutter) and they were using different versions of google play services. Net result is I got this runtime error below.\r\n\r\n>  Rejecting re-init on previously-failed class java.lang.Class<com.google.android.gms.maps.GoogleMapOptions>: java.lang.NoClassDefFoundError: Faile\r\n> d resolution of: Lcom/google/android/gms/internal/zzbfm;\r\n> I/zygote  ( 2954):   at void io.flutter.plugins.googlemaps.GoogleMapBuilder.<init>() (GoogleMapBuilder.java:15)\r\n\r\n**google_maps_flutter** was using 'com.google.android.gms:play-services-maps:11.8.0' whereas **location** was using 'com.google.android.gms:play-services-location:15.+'\r\n\r\nTo fix the runtime issue I modified my fork of google_maps_flutter to use the same 15.+ version."}}
{"actor":{"display_login":"gerryhigh"}}