I want to build python executable for android in android studio that can run both commands and also scripts, like ytdlp for android by yausername/youtubedl-android I an new to cross compiling libaries for android can any one help me with the thing any help will be appreatiated

I tried to extract the libs from the yausername/youtubedl-android and run those but i want to create of my own.

Source: View source