How to build a prebuilt library?

Is there any thorough guide about how to build a prebuilt library both for ios and android?

Thank you.

I want to know too.