Make an Android extension for Defold

There is an android package that I need to import to work on in Defold. The package is used for monetization but is only available for unity, android and iOS. Is there a tutorial or a way to add libraries to Defold from Android?

We have documentation for our. native extensions, and we also have lots of actual extensions to look at.