-
Notifications
You must be signed in to change notification settings - Fork 60
Troubleshooting Android Bindings Issues
Jonathan Pobst edited this page Jan 24, 2022
·
24 revisions
- Helpful Tools - Some helpful tools for investigating. **DIAGNOSTIC MSBUILD LOG IS A MUST**
- Glossary - Some common terms used with binding projects.
- Understanding the Binding Pipeline - Understanding the various steps performed in the binding process can help determine where issues are occurring and how to fix them.
-
Metadata Cheat Sheet - Quick reference for commonly used
metadata
constructs.
- Missing Types or Members - Expected Java types or members are missing from the managed bindings.
- Renaming Namespaces - Changes are desired to namespace names created automatically from Java package names.
-
Renaming Namespaces/Types/Members/Parameters - Name changes are desired, for style reasons or due to a
CS1001
compilation error. -
Covariant Return Types - Class - These generally manifest as a
CS0534
compilation error. -
Covariant Return Types - Interface - These generally manifest as a
CS0738
compilation error. -
Duplicate Events - These generally manifest as a
CS0102
compilation error where the referenced member is a C#event
. -
Duplicate EventArgs Classes - These generally manifest as
CS0111
orCS0112
compilation errors referencingEventArgs
. -
Duplicate Event Handlers - These generally manifest as a
CS0102
compilation error where the referenced member ends inHandler
. -
Incorrect
override
\virtual
Method Modifiers - These generally manifest as aCS0115
compilation error.