我正在一个项目中使用Ionic 6和Capacitor。
在config.xml文件中,我有:
<widget xmlns="w3.org/ns/widgets"; xmlns:cdv="cordova.apache.org/ns/1.0">
当我尝试将它更改为:
<widget version="0.0.1" xmlns="w3.org/ns/widgets"; xmlns:cdv="cordova.apache.org/ns/1.0">
然后执行ionic build android命令后,版本号消失了,而AndroidManifest.xml文件没有任何变化。
当我将apk或其他文件导入Google Play进行测试时,它告诉我该版本已经存在。
那么我该如何更改应用程序的版本号呢?