How to Add custom C++ module and enable Custom builds for Android simultaneously

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By mnoroozi

I’m switching to Godot v3.2.3 and I’m trying to use Custom builds for Android to make use of the new plugin system (to have Firebase, GameAnalytics, etc). I used to handle these services through custom modules and compiling the engine to get export templates.
My problem is that I still have one C++ module that I want to be included in the engine. Is there any way to benefit from both the new plugin system and the old way of compiling custom export templates at the same time?
(I tried to create custom TPZ files from my custom Godot source and build the game with it, but as I installed the APK, It seems my module was not included in the engine)

:bust_in_silhouette: Reply From: mnoroozi

I compiled the custom source code for android and placed in the correct directory mentioned in the docs and everything worked just fine and my custom module was included in the final APK. I guess I did something wrong the last time.