Release .apk in android not installing

Hello Ionic team,
I need some help from you. I am bulding android .apk using ionic cordova build android --prod --release . The generated apk is not installing on my mobile. Could any one suggest me how can I achieve it.Tanks. My Ionic Info is:

cli packages: (C:\Users\naveen\AppData\Roaming\npm\node_modules)

@ionic/cli-utils  : 1.19.1
ionic (Ionic CLI) : 3.19.1

global packages:

cordova (Cordova CLI) : 8.0.0

local packages:

@ionic/app-scripts : 3.1.8
Cordova Platforms  : android 7.0.0
Ionic Framework    : ionic-angular 3.9.2

System:

Node : v8.9.4
npm  : 5.6.0
OS   : Windows 10

Environment Variables:

ANDROID_HOME : not set

Misc:

backend : pro

If you have installed a development version of the app with the same id, manually delete it. Since they share an id, but are signed differently, Android will not overwrite it.

1 Like

@ChrisGriiffith, I didn’t install the development version. when I run the release command, the build was successful, but when I try to install on mobile, it shows app not installed. do you have any idea.

@ChrisGriiffith, finally I solved my issue. I have to set my android path in environment variables. This fixed my issue. thanks for your reply .