#Kindly try to do as mentioned below,
- Go to Build.
- Generate Signed Bundle/APK(If you want a release build & have a keystore).
3)Buid Bundle(s)/APK(s), if you just need a debug build for testing or something.
- Under the above options, you can find the Build APK option and you have to choose that for generating your APK file.
- You can find your APK under the Your Project Folder - > app -> build - > output -> apk -> debug/release
Reference link : https://developer.android.com/studio/publish/app-signing Hope this will be helpful.