Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
I bind two Android librarys, Jake Wharton's ActionBarSherlock and Jake Wharton's ViewPagerIndicator.
If I reference each library in Android application at a time, it works without problems, but when I references both at the same time, does not work, I think there is a confusion between the dependency package (support-v4) of each library at compile time.
I attached the code :D
I use Xamarin.Android 4.10.0 and I have tested with Xamarin.Android 4.8.3 but it's not works.
Created attachment 5198 [details]
It is a bug in Xamarin.Android that we should fix. Sorry for inconvenience.
So far as a workaround, please rename "classes.jar" in either of the zip files (of LibraryProjectZip), to any other name (e.g. "actionbarsherlock.jar"). There is some file copy that overwrites either of them.
Thanks a lot, the problem was solved completely :D :D :D :D o/\o I love so much Xamarin.Android and I have to thank you for this beautiful and exciting platform.
Thanks you, thank you, thank you :D :D :D :D
Fixed the issue. It will work in the next major release. Thanks for the report.
*** Bug 15675 has been marked as a duplicate of this bug. ***
Actually it will be in the next major release to the next major release. Until that release happens, please use the workaround as in comment #2.
I followed your instructions for the workaround and I no longer see the javac error, but I am seeing this instead:
COMPILETODALVIK : UNEXPECTED TOP-LEVEL error :
This is using the facebook SDK binding from the monodroid-samples project, and the ActionbarSherlock package from NuGet.
Will I have to revert to using a binding for ActionBarSherlock and manually adding the fix for that classes.jar file as well?
I figured there is some issue in ActionBarSherlock 4.4.0 binding.
Anyways the same comment as in bug #15675 applies: NuGet package is private unmaintained component. Please try the one from monodroid-samples.
I have build the attached project when both are referenced in project at same time. It builds successfully.
X.S 4.2.2(build 2)