Bug 28977 - [Xamarin.Android 5.1]Error during build
Summary: [Xamarin.Android 5.1]Error during build
Status: RESOLVED ANSWERED
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 5.1
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2015-04-10 10:12 UTC by Grigory (Playtika)
Modified: 2017-11-27 19:20 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description Grigory (Playtika) 2015-04-10 10:12:07 UTC
Error	210	 error: incompatible types: String cannot be converted to ApplicationInfo
			mono.MonoPackageManager.LoadApplication (context, runtimeInfo.dataDir,
	Q:\Project\Src\SM\SM.Android\..\..\..\Build\Obj\Debug\SM.Android\android\src\mono\MonoRuntimeProvider.java

Microsoft Visual Studio Ultimate 2013
Version 12.0.31101.00 Update 4
Microsoft .NET Framework
Version 4.5.53349

Installed Version: Ultimate

Xamarin   3.11.271.0 (e36ba35)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   5.1.0.99 (e81edcfee3152b5892337b8741d8da28f9ee74b1)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.Forms Intellisense   1.0
Provides intellisense for Xamarin.Forms in the XML editor.

Xamarin.iOS   8.10.0.0 (3abf86b113ef9dd7c6aaf53c4c47bdb39ae526b9)
Visual Studio extension to enable development for Xamarin.iOS.

Xamarin.iOS Unified Migration   1.0
Automated migration for Xamarin iOS Classic projects to Unified
Comment 1 Jonathan Pryor 2015-04-10 16:45:51 UTC
Please delete your `obj` directory and rebuild.