{"action":"created","issue":{"url":"https://api.github.com/repos/martijn00/XamarinMediaManager/issues/278","repository_url":"https://api.github.com/repos/martijn00/XamarinMediaManager","labels_url":"https://api.github.com/repos/martijn00/XamarinMediaManager/issues/278/labels{/name}","comments_url":"https://api.github.com/repos/martijn00/XamarinMediaManager/issues/278/comments","events_url":"https://api.github.com/repos/martijn00/XamarinMediaManager/issues/278/events","html_url":"https://github.com/martijn00/XamarinMediaManager/issues/278","id":265802904,"number":278,"title":"Linking fails on Android with Media Manager (latest)","user":{"login":"JohnGalt1717","id":1868147,"avatar_url":"https://avatars2.githubusercontent.com/u/1868147?v=4","gravatar_id":"","url":"https://api.github.com/users/JohnGalt1717","html_url":"https://github.com/JohnGalt1717","followers_url":"https://api.github.com/users/JohnGalt1717/followers","following_url":"https://api.github.com/users/JohnGalt1717/following{/other_user}","gists_url":"https://api.github.com/users/JohnGalt1717/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnGalt1717/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnGalt1717/subscriptions","organizations_url":"https://api.github.com/users/JohnGalt1717/orgs","repos_url":"https://api.github.com/users/JohnGalt1717/repos","events_url":"https://api.github.com/users/JohnGalt1717/events{/privacy}","received_events_url":"https://api.github.com/users/JohnGalt1717/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2017-10-16T15:04:08Z","updated_at":"2018-05-18T15:57:06Z","closed_at":null,"author_association":"NONE","body":"using Oreo sdk, and the latest nuget packages and Xamarin Forms etc. if you enable Linking (either sdk only or sdk and user assemblies it will fail with the following error:\r\n\r\nSeverity\tCode\tDescription\tProject\tFile\tLine\tSuppression State\r\nError\t\tThe \"LinkAssemblies\" task failed unexpectedly.\r\nMono.Linker.MarkException: Error processing method: 'System.Void Plugin.MediaManager.MediaNotificationManagerImplementation::StartNotification(Plugin.MediaManager.Abstractions.IMediaFile,System.Boolean,System.Boolean)' in assembly: 'Plugin.MediaManager.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve Android.Support.V7.App.NotificationCompat/MediaStyle Android.Support.V7.App.NotificationCompat/MediaStyle::SetMediaSession(Android.Support.V4.Media.Session.MediaSessionCompat/Token)\r\n   at Mono.Linker.Steps.MarkStep.HandleUnresolvedMethod(MethodReference reference)\r\n   at Mono.Linker.Steps.MarkStep.MarkMethod(MethodReference reference)\r\n   at Mono.Linker.Steps.MarkStep.MarkInstruction(Instruction instruction)\r\n   at Mono.Linker.Steps.MarkStep.MarkMethodBody(MethodBody body)\r\n   at Mono.Linker.Steps.MarkStep.ProcessMethod(MethodDefinition method)\r\n   at Mono.Linker.Steps.MarkStep.ProcessQueue()\r\n   --- End of inner exception stack trace ---\r\n   at Mono.Linker.Steps.MarkStep.ProcessQueue()\r\n   at Mono.Linker.Steps.MarkStep.Process()\r\n   at Mono.Linker.Steps.MarkStep.Process(LinkContext context)\r\n   at Mono.Linker.Pipeline.Process(LinkContext context)\r\n   at MonoDroid.Tuner.Linker.Process(LinkerOptions options, LinkContext& context)\r\n   at Xamarin.Android.Tasks.LinkAssemblies.Execute(DirectoryAssemblyResolver res)\r\n   at Xamarin.Android.Tasks.LinkAssemblies.Execute()\r\n   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()\r\n   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()\tCADLearning.Mobile.Droid\tC:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Xamarin\\Android\\Xamarin.Android.Common.targets\t1628\t\r\n\r\n\r\nAppears to be styling or something that is broken?"},"comment":{"url":"https://api.github.com/repos/martijn00/XamarinMediaManager/issues/comments/390252414","html_url":"https://github.com/martijn00/XamarinMediaManager/issues/278#issuecomment-390252414","issue_url":"https://api.github.com/repos/martijn00/XamarinMediaManager/issues/278","id":390252414,"user":{"login":"martijn00","id":6221156,"avatar_url":"https://avatars2.githubusercontent.com/u/6221156?v=4","gravatar_id":"","url":"https://api.github.com/users/martijn00","html_url":"https://github.com/martijn00","followers_url":"https://api.github.com/users/martijn00/followers","following_url":"https://api.github.com/users/martijn00/following{/other_user}","gists_url":"https://api.github.com/users/martijn00/gists{/gist_id}","starred_url":"https://api.github.com/users/martijn00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martijn00/subscriptions","organizations_url":"https://api.github.com/users/martijn00/orgs","repos_url":"https://api.github.com/users/martijn00/repos","events_url":"https://api.github.com/users/martijn00/events{/privacy}","received_events_url":"https://api.github.com/users/martijn00/received_events","type":"User","site_admin":false},"created_at":"2018-05-18T15:57:06Z","updated_at":"2018-05-18T15:57:06Z","author_association":"OWNER","body":"I don't have time to fix up the missing pieces, or the other feature requests right now. I'm available for hire to fix this up and integrate changes into your project if you or anyone else wants. Drop me an email or message and we can talk about it."}}
{"actor":{"display_login":"martijn00"}}