We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

The "CheckDuplicateJavaLibraries" task failed unexpectedly. Error when building SampleBrowser

Thread ID:





125240 Aug 2,2016 09:15 AM UTC Aug 3,2016 02:08 PM UTC Xamarin.Forms 1
Tags: General
Asked On August 2, 2016 09:15 AM UTC

I trying to build the SampleBrowser-Forms in the latest release of Essential Studio for Xamarin however when I do so, I get the following error :-
Error The "CheckDuplicateJavaLibraries" task failed unexpectedly.
System.IO.FileNotFoundException: Could not find file 'C:\Program Files (x86)\Android\android-sdk\extras\android\support\multidex\library\libs\android-support-multidex.jar'.
File name: 'C:\Program Files (x86)\Android\android-sdk\extras\android\support\multidex\library\libs\android-support-multidex.jar'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileInfo.get_Length()
at Xamarin.Android.Tasks.MonoAndroidHelper.SizeAndContentFileComparer.GetHashCode(FileInfo obj)
at System.Linq.Set`1.InternalGetHashCode(TElement value)
at System.Linq.Set`1.Find(TElement value, Boolean add)
at System.Linq.Enumerable.d__63`1.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at Xamarin.Android.Tasks.MonoAndroidHelper.DistinctFilesByContent(IEnumerable`1 filePaths)
at Xamarin.Android.Tasks.CheckDuplicateJavaLibraries.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext() SampleBrowser.Droid
I have tried to see if I can resolve this by installing some things from SDK Manager but the problem still persists.
How do I resolve this issue?
Kind regards,
Paul Diston

Yuvaraj Palanisamy [Syncfusion]
Replied On August 3, 2016 02:08 PM UTC

Hi Paul Diston 
Thanks for contacting Syncfusion support. 
This issue occurs due to the unavailability of Android Support Library. 
To fix this issue, 
Go to Android SDK Manager -> Packages -> Show Obsolete Packages -> Extras –> Android Support Library. Kindly check this package and install it. 
Please check and let us know if you need further clarifications. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon