{"action":"created","issue":{"url":"https://api.github.com/repos/xamarin/GooglePlayServicesComponents/issues/128","repository_url":"https://api.github.com/repos/xamarin/GooglePlayServicesComponents","labels_url":"https://api.github.com/repos/xamarin/GooglePlayServicesComponents/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/xamarin/GooglePlayServicesComponents/issues/128/comments","events_url":"https://api.github.com/repos/xamarin/GooglePlayServicesComponents/issues/128/events","html_url":"https://github.com/xamarin/GooglePlayServicesComponents/issues/128","id":342623111,"node_id":"MDU6SXNzdWUzNDI2MjMxMTE=","number":128,"title":"Package version or symbol conflict in firebase and googleservices preventing successful build targeting android 7","user":{"login":"LeroyDL","id":40353550,"node_id":"MDQ6VXNlcjQwMzUzNTUw","avatar_url":"https://avatars0.githubusercontent.com/u/40353550?v=4","gravatar_id":"","url":"https://api.github.com/users/LeroyDL","html_url":"https://github.com/LeroyDL","followers_url":"https://api.github.com/users/LeroyDL/followers","following_url":"https://api.github.com/users/LeroyDL/following{/other_user}","gists_url":"https://api.github.com/users/LeroyDL/gists{/gist_id}","starred_url":"https://api.github.com/users/LeroyDL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeroyDL/subscriptions","organizations_url":"https://api.github.com/users/LeroyDL/orgs","repos_url":"https://api.github.com/users/LeroyDL/repos","events_url":"https://api.github.com/users/LeroyDL/events{/privacy}","received_events_url":"https://api.github.com/users/LeroyDL/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-19T08:11:12Z","updated_at":"2018-07-23T15:50:27Z","closed_at":null,"author_association":"NONE","body":"### Xamarin.Android Version (eg: 6.0):\r\n7.0\r\n\r\n### Operating System & Version (eg: Mac OSX 10.11):\r\nWindows 10\r\n\r\n### Google Play Services Version (eg: 8.4.0):\r\n42.1021.1\r\n\r\n### Describe your Issue:\r\nI need to target android 7 or lower if possible, but am unable to do so with my App.\r\nHaving a package version or symbol conflict when referencing xamarin.firebase and xamarin.googleplayservices preventing successful build targeting android 7.1.\r\n\r\nI've tried swapping in and out various versions of xamarin.forms, googleplayservices, and firebasemessaging and get a variety of errors when doing so. Most notably this issue as described, or the firebase namespace and symbols being missing despite being referenced, even after removing, deleting all build products and xamarin nuget cache, re-adding packages and rebuilding.\r\n\r\nmy target sdk is set to 7.1, and all other android sdks have been deleted.\r\nThe logs about forms v8.1 are a little worrying to me.\r\n\r\npotentially related articles:\r\nhttps://github.com/playgameservices/play-games-plugin-for-unity/issues/1892\r\nhttps://github.com/googleads/googleads-mobile-unity/issues/510\r\nhttps://stackoverflow.com/questions/48893523/error-package-com-google-firebase-messaging-does-not-exist\r\nhttps://github.com/xamarin/GooglePlayServicesComponents/issues/77\r\n\r\nI've tried the solutions mentioned in all of those articles above but have found none to resolve the problem.\r\n\r\n### Steps to Reproduce (with link to sample solution if possible):\r\n\r\n1. Create a new empty Xamarin forms mobile project\r\n2. To the android project, Add xamarin.firebase.messaging version 42.1021.1 nuget package\r\n3. Clean & build android project.\r\n\r\n### Include any relevant Exception Stack traces, build logs, adb logs:\r\n`1>------ Build started: Project: DFEApp.Android, Configuration: Debug Any CPU ------\r\n1>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1429,2): warning : max res 25, skipping mipmap-anydpi-v26\r\n1>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1328,2): warning : max res 25, skipping mipmap-anydpi-v26\r\n1>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1328,2): warning : max res 25, skipping mipmap-anydpi-v26\r\n1>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1328,2): warning : max res 25, skipping mipmap-anydpi-v26\r\n1>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1328,2): warning : max res 25, skipping mipmap-anydpi-v26\r\n1>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1328,2): warning : max res 25, skipping mipmap-anydpi-v26\r\n1>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1328,2): warning : max res 25, skipping mipmap-anydpi-v26\r\n1>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1328,2): warning : max res 25, skipping mipmap-anydpi-v26\r\n1>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1328,2): warning : max res 25, skipping mipmap-anydpi-v26\r\n1>  DFEApp.Android -> C:\\Users\\<redacted>\\Source\\Repos\\DFEApp\\DFEApp\\DFEApp.Android\\bin\\Debug\\DFEApp.Android.dll\r\n1>C:\\Users\\<redacted>\\Source\\Repos\\DFEApp\\DFEApp\\DFEApp.Android\\DFEApp.Android.csproj : warning XA0105: The $(TargetFrameworkVersion) for FormsViewGroup.dll (v8.1) is greater than the $(TargetFrameworkVersion) for your project (v7.1). You need to increase the $(TargetFrameworkVersion) for your project.\r\n1>C:\\Users\\<redacted>\\Source\\Repos\\DFEApp\\DFEApp\\DFEApp.Android\\DFEApp.Android.csproj : warning XA0105: The $(TargetFrameworkVersion) for Xamarin.Forms.Platform.Android.dll (v8.1) is greater than the $(TargetFrameworkVersion) for your project (v7.1). You need to increase the $(TargetFrameworkVersion) for your project.\r\n1>C:\\Users\\<redacted>\\Source\\Repos\\DFEApp\\DFEApp\\DFEApp.Android\\DFEApp.Android.csproj : warning XA0105: The $(TargetFrameworkVersion) for Xamarin.Forms.Platform.dll (v8.1) is greater than the $(TargetFrameworkVersion) for your project (v7.1). You need to increase the $(TargetFrameworkVersion) for your project.\r\n1>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1910,3): warning : Name cannot begin with the '$' character, hexadecimal value 0x24.\r\n1>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(2007,3): warning : max res 25, skipping mipmap-anydpi-v26\r\n1>  Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/iid/zzc;\r\n1>  Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/iid/zzd;\r\n1>  Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/iid/zze;\r\n1>  Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/iid/zzf;\r\n1>  Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/iid/zzg;\r\n1>  Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/iid/zzh;\r\n1>  6 errors; aborting\r\n1>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(2254,3): error : java.lang.IllegalArgumentException: already added :  Lcom/google/firebase/iid/zzc;\r\n========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========\r\n`"},"comment":{"url":"https://api.github.com/repos/xamarin/GooglePlayServicesComponents/issues/comments/407106159","html_url":"https://github.com/xamarin/GooglePlayServicesComponents/issues/128#issuecomment-407106159","issue_url":"https://api.github.com/repos/xamarin/GooglePlayServicesComponents/issues/128","id":407106159,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzEwNjE1OQ==","user":{"login":"Redth","id":271950,"node_id":"MDQ6VXNlcjI3MTk1MA==","avatar_url":"https://avatars1.githubusercontent.com/u/271950?v=4","gravatar_id":"","url":"https://api.github.com/users/Redth","html_url":"https://github.com/Redth","followers_url":"https://api.github.com/users/Redth/followers","following_url":"https://api.github.com/users/Redth/following{/other_user}","gists_url":"https://api.github.com/users/Redth/gists{/gist_id}","starred_url":"https://api.github.com/users/Redth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Redth/subscriptions","organizations_url":"https://api.github.com/users/Redth/orgs","repos_url":"https://api.github.com/users/Redth/repos","events_url":"https://api.github.com/users/Redth/events{/privacy}","received_events_url":"https://api.github.com/users/Redth/received_events","type":"User","site_admin":false},"created_at":"2018-07-23T15:50:27Z","updated_at":"2018-07-23T15:50:27Z","author_association":"MEMBER","body":"You should set your target framework version higher (8.1 is a good version right now to go with).\r\n\r\nKeep in mind this doesn't mean you can't set your minimum sdk version to something lower.\r\n\r\nYou're going to have to target 8.0 at a minimum later this year anyway if you want to submit updates to your app in the play store.\r\n"}}
{"actor":{"display_login":"Redth"}}