Build the .apk. (Build > Generate Signed Bundle / APK > Select APK > Provide the keystore file and appropriate passwords (key is key0) > Click next > Select release > Create); can also be done using option "Android App Bundle" which generates .aab file
Locate the .apk file, Android Studio should prompt you for the location.
Scope
Instruction to recreate apk and app bundle