Bug 36909 - Binding issue missing class when reflecting other class
Summary: Binding issue missing class when reflecting other class
Alias: None
Product: Components
Classification: Xamarin
Component: Generation ()
Version: N/A
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Jon Dick
Depends on:
Reported: 2015-12-11 18:54 UTC by Jesus Garcia
Modified: 2015-12-12 19:30 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:

Description Jesus Garcia 2015-12-11 18:54:18 UTC
I'm currently creating a binding for the AirWatch Framework,
I keep on getting errors like 

/Users/jgarcia/airwatch-android/AirwatchBinding/AirWatch-AWFramework/JARTOXML: Warning J2XA006: missing class error was raised while reflecting com.airwatch.gateway.clients.AWWebViewClient : android/webkit/ClientCertRequest (J2XA006) (AirWatch-AWFramework)



/Users/jgarcia/airwatch-android/AirwatchBinding/AirWatch-AWFramework/BINDINGSGENERATOR: Warning BG8604: top ancestor AWWebViewClient not found for nested type Com.Airwatch.Gateway.Clients.AWWebViewClient.1. (BG8604) (AirWatch-AWFramework)

which I'm sure are related.

If I unzip the aar, I can find all this classes in the classes.jar. 

For some reason the tool is skipping this class (and many others just like this).

I already made sure to include all the necessary jar dependencies and linked them as "EmbeddedReferenceJar".
Comment 1 Jon Dick 2015-12-11 19:11:42 UTC
Looks like android/webkit/ClientCertRequest was introduced in API Level 21.  Make sure your binding project is set to target API Level 21 or higher
Comment 2 Jesus Garcia 2015-12-12 19:30:04 UTC
That fixed most of the issues, thanks for you help Jon.