Swap existing native app with a cordova/phonegap based one without the user knowing

非 Y 不嫁゛ 提交于 2019-12-06 21:22:29

To answer my own question, 2 things were needed to fix this problem:

  1. you will need the original *.keystore file with which the old native app was signed (together with the password)
  2. Make sure to disable debug option in your android manifest

For cordova builds, you will have to create a file called ant.properties like described in this post.

As soon as you created the ant.properties file you just need to run the following command to create the signed release-ready apk file platforms/android/ant-build/appname-release.apk:

$ cordova build android --release 
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!