I am using ionic framework to generate apk for android platform.
After running ionic build android, an android-debug.apk is generated. How can I generat
ionic build android
Basically, as Jan commented, you should use the command: cordova build android --release. You can take a look at the official guide from Ionic about how to publish your app.
cordova build android --release