This is a migrated thread and some comments may be shown as answers.

Android Linker Error in release

1 Answer 131 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
john
Top achievements
Rank 1
john asked on 22 Feb 2018, 02:38 PM

When I try to link the SDK assemblies only the following linker error is displayed

Error:

SeverityCodeDescriptionProjectFileLineSuppression State
ErrorThe "LinkAssemblies" task failed unexpectedly.
Mono.Linker.MarkException: Error processing method: 'System.Void Telerik.XamarinForms.DataVisualization.Gauges.GaugeShapeIndicator::ShapeChanged(Telerik.XamarinForms.DataVisualization.Gauges.GaugeShapeIndicator,Telerik.XamarinForms.Common.RadPathGeometry,Telerik.XamarinForms.Common.RadPathGeometry)' in assembly: 'Telerik.XamarinForms.DataVisualization.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Collections.Generic.List`1<Telerik.XamarinForms.Common.Paintables.PathInstruction> Telerik.XamarinForms.Common.PathInstructionConverter::Convert(Telerik.XamarinForms.Common.RadPathGeometry)
   at Mono.Linker.Steps.MarkStep.HandleUnresolvedMethod(MethodReference reference)
   at Mono.Linker.Steps.MarkStep.MarkMethod(MethodReference reference)
   at Mono.Linker.Steps.MarkStep.MarkInstruction(Instruction instruction)
   at Mono.Linker.Steps.MarkStep.MarkMethodBody(MethodBody body)
   at Mono.Linker.Steps.MarkStep.ProcessMethod(MethodDefinition method)
   at Mono.Linker.Steps.MarkStep.ProcessQueue()
   --- End of inner exception stack trace ---
   at Mono.Linker.Steps.MarkStep.ProcessQueue()
   at Mono.Linker.Steps.MarkStep.Process()
   at Mono.Linker.Steps.MarkStep.Process(LinkContext context)
   at Mono.Linker.Pipeline.Process(LinkContext context)
   at MonoDroid.Tuner.Linker.Process(LinkerOptions options, LinkContext& context)
   at Xamarin.Android.Tasks.LinkAssemblies.Execute(DirectoryAssemblyResolver res)
   at Xamarin.Android.Tasks.LinkAssemblies.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()App.DroidC:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets1577

 

Any help on this would be a great help.

 

John

1 Answer, 1 is accepted

Sort by
0
Stefan Nenchev
Telerik team
answered on 27 Feb 2018, 08:41 AM
Hi, John,

Could you share more information on the scenario in which this error appears? What control of the Telerik UI for Xamarin suite are you using and in what setup? Does the application run properly when you have chosen another Linker Behavior option?

Regards,
Stefan Nenchev
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
john
Top achievements
Rank 1
Answers by
Stefan Nenchev
Telerik team
Share this question
or