{"action":"reopened","issue":{"url":"https://api.github.com/repos/Clancey/SimpleAuth/issues/56","repository_url":"https://api.github.com/repos/Clancey/SimpleAuth","labels_url":"https://api.github.com/repos/Clancey/SimpleAuth/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/Clancey/SimpleAuth/issues/56/comments","events_url":"https://api.github.com/repos/Clancey/SimpleAuth/issues/56/events","html_url":"https://github.com/Clancey/SimpleAuth/issues/56","id":288554029,"number":56,"title":"Error processing method: CheckNewGooglePlayServices","user":{"login":"RalphJacobson","id":34366916,"avatar_url":"https://avatars2.githubusercontent.com/u/34366916?v=4","gravatar_id":"","url":"https://api.github.com/users/RalphJacobson","html_url":"https://github.com/RalphJacobson","followers_url":"https://api.github.com/users/RalphJacobson/followers","following_url":"https://api.github.com/users/RalphJacobson/following{/other_user}","gists_url":"https://api.github.com/users/RalphJacobson/gists{/gist_id}","starred_url":"https://api.github.com/users/RalphJacobson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RalphJacobson/subscriptions","organizations_url":"https://api.github.com/users/RalphJacobson/orgs","repos_url":"https://api.github.com/users/RalphJacobson/repos","events_url":"https://api.github.com/users/RalphJacobson/events{/privacy}","received_events_url":"https://api.github.com/users/RalphJacobson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-01-15T10:55:23Z","updated_at":"2018-04-05T20:50:29Z","closed_at":null,"author_association":"NONE","body":"Since changing Target Framework to use Android 8.0 (Oreo), I'm getting the following error on release builds:\r\n\r\n7>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1696,5): error MSB4018: The \"LinkAssemblies\" task failed unexpectedly.\r\n7>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1696,5): error MSB4018: Mono.Linker.MarkException: Error processing method: 'System.Void SimpleAuth.Providers.Google/GoogleSignInProvider::CheckNewGooglePlayServices(Android.App.Activity)' in assembly: 'SimpleAuth.Google.Droid.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Boolean Android.Gms.Common.Zze::IsUserResolvableError(System.Int32)\r\n7>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Mono.Linker.Steps.MarkStep.HandleUnresolvedMethod(MethodReference reference)\r\n7>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Mono.Linker.Steps.MarkStep.MarkMethod(MethodReference reference)\r\n7>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Mono.Linker.Steps.MarkStep.MarkInstruction(Instruction instruction)\r\n7>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Mono.Linker.Steps.MarkStep.MarkMethodBody(MethodBody body)\r\n7>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Mono.Linker.Steps.MarkStep.ProcessMethod(MethodDefinition method)\r\n7>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Mono.Linker.Steps.MarkStep.ProcessQueue()\r\n7>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1696,5): error MSB4018:    --- End of inner exception stack trace ---\r\n7>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Mono.Linker.Steps.MarkStep.ProcessQueue()\r\n7>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Mono.Linker.Steps.MarkStep.ProcessEntireQueue()\r\n7>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Mono.Linker.Steps.MarkStep.Process()\r\n7>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Mono.Linker.Steps.MarkStep.Process(LinkContext context)\r\n7>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Mono.Linker.Pipeline.Process(LinkContext context)\r\n7>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at MonoDroid.Tuner.Linker.Process(LinkerOptions options, LinkContext& context)\r\n7>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Xamarin.Android.Tasks.LinkAssemblies.Execute(DirectoryAssemblyResolver res)\r\n7>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Xamarin.Android.Tasks.LinkAssemblies.Execute()\r\n7>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()\r\n7>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()\r\n\r\nI'm using the following versions:\r\nClancey.SimpleAuth 1.0.41\r\nClancey.SimpleAuth.Google.Droid 1.0.9\r\n\r\n(Not using version 1.0.47 of Clancey.SimpleAuth because I'm still using PCL's.)\r\n\r\nMy linking is set to \"Sdk Assemblies Only\".\r\n\r\nNote that I still get the error even if I include \"SimpleAuth;SimpleAuth.Google.Droid\" in the \"Skip linking assemblies\" section.\r\n\r\n(It compiles fine if I change the \"Linking\" to \"None\", but this is obviously not ideal.)"}}
{"actor":{"display_login":"Clancey"}}