How do I compile C++ for Android in Godot 4?

Godot Version


Hello everyone, I am developing a mobile game for Android. One of the algorithms of the game is written in C++, and I use GDExtension to make everything work. I have excellent lib and DLL libraries. However, when I try to compile my code for Android (scons platform=android), nothing comes out. What should I do, what should I prescribe and how to compile the C++ files that will run on Android correctly?