A utility for bundling Xamarin/Monodroid DLLs into an android shared library (libmonodroid_bundle_app.so).
Useful for bundling back .NET DLLs extracted using this tool mono_unbundle.
After the first launch there will be config.json created and you have to set the following information:
- "AndroidNdkDirectory" - Path to Android NDK
- "BundleApiPath" - Path to mkbundle-api.h(included in the project)
- "SupportedAbis" - Supported ABIs, semicolon separated
- "ToolPath" - Path to a directory containing mkbundle.exe
Options: -p, --path - Required. Path to a directory containing assemblies to bundle.
- Produce a stub. Temp.c will be created inside temp directory in your running directory.
- Make adjustments to temp.c.
- Link into libmonodroid_bundle_app.so.
In my case I had to edit mono_mkbundle_init function in temp.c in order to make it match the original one.
Xamarin.Android - The utility uses slightly modified version of Xamarin.Android project licensed under MIT License.
The utility is licensed under MIT License.