how to make a apk using android studio\ code example
Example: how to generate android studio apk
/*How you can extract an APK file using Android Studio?
In the Android menu, go to Build > Build Bundle(s) / APK (s) > Build APK(s).
Android Studio will start building the APK for you. ...
The 'locate' button should open File Explorer with the debug folder open that contains a file called “app-debug. ...
That's it.*/