Chet at C2IT
Chet at C2IT

Reputation: 547

Release build fails with a

When I build my Xamarin Android App in release mode, I get this error:

/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 Xamarin.Forms.Entry::set_FontSize(System.Double)' (defined in 'MyApp, Version=1.0.5942.24429, Culture=neutral, PublicKeyToken=null') from 'MyApp, Version=1.0.5942.24429, Culture=neutral, PublicKeyToken=null' could not be resolved. (MyApp.Droid)

When I build it in Debug mode, it builds fine.

I've cleaned my project and updated Xamarin Studio (Xamarin.Android 6.0.3) ... how can I start to dig into finding the cause of this issue?

Upvotes: 1

Views: 463

Answers (1)

ClintL
ClintL

Reputation: 1453

Set your Minimum Android to target API 15 or higher. Ensure that all APIs you cover within your Min/Max API level are present in your Android SDK manager.

See this for additional information:

https://forums.xamarin.com/discussion/17929/error-executing-task-linkassemblies-for-android-release-build

Upvotes: 0

Related Questions