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 for Bug 36791 on
Developer Community or GitHub if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
I am trying to bind to a java class that inherits from the BaseColumn interface in Android and when I try to build, it gives me a build error that my class cannot have multiple base classes. Java.Lang.Object and Android.Provider.BaseColumns. When I look at the Android documentation, this is clearly defined as an interface:
but in Xamarin, it is defined as a public abstract class.
That is... an interesting overlook.
Quick explanation on the situation: Android.Provider.BaseColumn is not to represent that Java interface. It is there rather to define constants in that Java interface (because C# cannot define constants, we split out those constants into a class).
So there should be "IBaseColumn" interface. But since there is no member, our generator seems to think that it does not have to generate it.
We should fix this.
I have tried this issue and able to reproduce this issue at my end.
I am getting the same behavior describe in bug description.
Ide Log: https://gist.github.com/Abhishekk360/00a2c855a3ca00dc8236
=== Xamarin Studio ===
Version 5.10.2 (build 50)
Installation UUID: 93e693b0-b53d-40f4-b29c-b61ff5cbe892
Mono 4.2.2 (explicit/d5c4649)
GTK+ 2.24.23 (Raleigh theme)
Package version: 402020023
=== Xamarin.Profiler ===
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
=== Xamarin.Android ===
Version: 184.108.40.206 (Enterprise Edition)
Android SDK: /Users/xamarin23/Desktop/android-sdk-macosx
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
4.1 (API level 16)
4.2 (API level 17)
4.3 (API level 18)
4.4 (API level 19)
4.4.87 (API level 20)
5.0 (API level 21)
5.1 (API level 22)
6.0 (API level 23)
SDK Tools Version: 24.4.1
SDK Platform Tools Version: 23.1
SDK Build Tools Version: 23.0.2
Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)
=== Xamarin Android Player ===
Location: /Applications/Xamarin Android Player.app
=== Apple Developer Tools ===
Xcode 7.1 (9079)
=== Xamarin.Mac ===
Version: 220.127.116.11 (Enterprise Edition)
=== Xamarin.iOS ===
Version: 18.104.22.168 (Enterprise Edition)
Build date: 2016-01-05 20:20:30-0500
=== Build Information ===
Release ID: 510020050
Git revision: 63da12d16f2ab00849bd9dd59d08ba7f5f05d578
Build date: 2016-01-11 19:27:34-05
Xamarin addins: 55f2d3596d8c1229f68d10e2b94332ca67222b48
Build lane: monodevelop-lion-cycle6-c6sr1
=== Operating System ===
Mac OS X 10.10.5
Darwin 800BC.local 14.5.0 Darwin Kernel Version 14.5.0
Wed Jul 29 02:26:53 PDT 2015
Same problem, anyone have a workaround? This will be fixed soon?