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.
Created attachment 8838 [details]
When trying to implement the Lollipop Palette.GenerateAsync to get colors from a Bitmap, I'm getting the following error:
Java.Lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/os/AsyncTaskCompat;
This error breaks my app. The complete error log is in the attachment.
@Bill: Landroid/support/v4/os/AsyncTaskCompat; is a Support type; is it being included into the .apk?
The Support-v7-Palette nuget package did not have a dependency on Support-v4 which it should have (to prevent this error).
This has been corrected and will be included in the v18.104.22.168 nuget release of Support-v7-Palette. In the meantime you could reference support-v4 in your project manually, or simply use the non-async Generate () method (perhaps run it in a Task for a similar result).