Home

Cordova build app android release

In package.json of app/ append this line:

  • "homepage": "/android_asset/www/"

Generate keystore android:

keytool -v -genkey -v -keystore appname.keystore -alias appname -keyalg RSA -validity 10000

Build apk release:

cordova build android --release -- --keystore=./appname.keystore --storePassword=xxxx --alias=appname --password=xxxx

(Next post: Setup enviroment for cordova + reactjs)

comments powered by Disqus