Build --prod generate two apk


I am running ionic cordova build android --prod --release and I receive the following message:

45 actionable tasks: 3 executed, 42 up-to-date
Built the following apk(s): 
	/Users/nicolas/Documents/Proyectos/..../platforms/android/app/build/outputs/apk/release/app-release-unsigned 4.apk

Success looks great!

And what is your problem or question?

My question is: Why does it generate 2 APK? one that ends with “4.apk” and another “.apk”. Also I have had problems, when I install the signed application and I receive a push notification the icon is not visible.

Open a new topic about this please.

No idea. Are you using Crosswalk or anything special in your project?

What is your ionic info output?

ionic info
cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:

    cordova (Cordova CLI) : 8.0.0 

local packages:

    @ionic/app-scripts : 3.1.8
    Cordova Platforms  : android 7.1.0 ios 4.5.4
    Ionic Framework    : ionic-angular 3.9.2


    ios-deploy : 1.9.2 
    Node       : v8.10.0
    npm        : 5.6.0 
    OS         : macOS High Sierra
    Xcode      : Xcode 9.2 Build version 9C40b 

Environment Variables:

    ANDROID_HOME : not set


    backend : pro