Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Problem with Linker for Android Xamarin.Forms

$
0
0

Hello all,

I'm not able to compile my Android Xamarin.Forms app in Release mode as I'm getting the following error related with the Linker.

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets: Error: Error executing task LinkAssemblies: error XA2006: Reference to metadata item 'System.Void Android.Widget.AbsListView::SetSelectionFromTop(System.Int32,System.Int32)' (defined in 'Xamarin.Forms.Platform.Android, Version=1.4.0.0, Culture=neutral, PublicKeyToken=null') from 'Xamarin.Forms.Platform.Android, Version=1.4.0.0, Culture=neutral, PublicKeyToken=null' could not be resolved.

The only way to make it work is telling the Linker not to link, but the size of the app is being increased a lot.
Could it be related with some Android SDK that has not been installed?

Any help would be appreciated.

Regards


Viewing all articles
Browse latest Browse all 58056

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>