APK not found after running ionic build --prod --release

I ran the following command:

ionic build --prod --release --platform=android

The build succeeded, however I am unable to locate the APK file generated. Any ideas as to where this might be?

Probably is in platform/android/app/build/outputs/apk/release inside your project directory!

Hi try this command once

ionic cordova build android --prod --release

APK path will be

/platforms/android/build/outputs/apk/android-release-unsigned.apk

It does print the apk file path after the process finishes I presume.