Cordova build -release Android Unsigned apk -


i'm trying generate release apk deploy on play store. i'm running command

sudo cordova build android --release 

which generating me file named android-release-unsigned.apk

i tried many solutions, creating keystore

keytool -genkey -v -keystore key-name.keystore -alias alias-name -keyalg rsa -keysize 2048 -validity 10000 

or trick of creating ant.properties file here , none of them worked @ all.

any other possible solution ? cordova version 5.1.1

if have keystore file generated, should work.

you may need remove console plugin if same apk directly goes production.

in cordova 6.2.0

cd cordova/ #change root cordova folder platforms/android/cordova/clean #clean if want cordova build android --release -- --keystore="/path/to/keystore" --storepassword=password --alias=alias_name #password prompted if have 

Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -