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'm trying to bind the mapbox android sdk from https://github.com/mapbox/mapbox-android-sdk/ and am struggling with dependencies.
I was able to find all the dependencies as jars by searching on maven except for geojson which is an aar. I've tried marking geojson-1.0.0.aar as both an EmbeddedReferenceJar and EmbeddedJar and neither seems to work.
This is some of the output I get when compiling the attached project.
1>JARTOXML : warning J2XA006: missing class error was raised while reflecting com.mapbox.mapboxsdk.overlay.GeoJSONPainter$LoadAndDisplay : com/cocoahero/android/geojson/FeatureCollection
1>JARTOXML : warning J2XA006: missing class error was raised while reflecting com.mapbox.mapboxsdk.util.DataLoadingUtils : com/cocoahero/android/geojson/FeatureCollection
1>JARTOXML : warning J2XA006: missing class error was raised while reflecting com.mapbox.mapboxsdk.views.MapView : com/cocoahero/android/geojson/FeatureCollection
1>BINDINGSGENERATOR : warning BG8604: top ancestor MapView not found for nested type Mapbox.MapboxSdk.Views.MapView.1
1>BINDINGSGENERATOR : warning BG8604: top ancestor MapView not found for nested type Mapbox.MapboxSdk.Views.MapView.LayoutParams
Created attachment 9007 [details]
Mapbox binding project
You could create another binding project that targets the dependency aar and reference it within the binding project for the depending aar. That's what we support. Without managed binding to the dependencies it is impossible to bind public API that uses dependencies anyways.