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've added the Xamarin.Android.Wear nuget package to the project, but I'm not able to reference anything in the CompatibleApi namespace. Is this missing from the package?
I have Android SDK Platform 25, Android SDK Tools 25.2.5 and the Android Support Respository installed.
Thank you for taking the time to submit the bug. We are unable to reproduce this issue. Please attach a reproduction to the bug by starting with a clean Xamarin.Android project and adding just the code necessary to demonstrate the issue.
It is highly recommended to follow the following guide for a more complete bug description.
If you can get us a project that demonstrates this issue, we can help investigate what you're running into. I am marking this bug as NEEDINFO for the time being as there are not enough details as to how we can reproduce this issue.
I believe the CompatibilityApi is new to Android Wear 2.0, which (please correct me if I'm wrong) I don't believe Xamarin currently supports.
Can you let us know which APIs you are trying to access? Perhaps the Java equivalent will help us pinpoint your problem. You can also link to documentation or a tutorial you're trying to follow. I've listed the wear packages below(And support library):
Perhaps you are referring to CapabilityApi?
We bind against the .jar google provides in the extras of the SDK:
You may want to try the beta package: https://www.nuget.org/packages/Xamarin.Android.Wear/2.0.3-beta1
Sorry, for some reason I kept switching "Compatibility" for "Capability", yes I was referring to the CapabilityApi (https://developers.google.com/android/reference/com/google/android/gms/wearable/CapabilityApi)
Is this only supported in the beta nuget package?
This API would be found rather in the Android.Gms.Wearable namespace which is the Google Play Services - Wearable package: