<replaceregexp file="AndroidManifest.xml"
match='android:versionCode="(.*)"'
replace='android:versionCode="${ver.code}"'
byline="false">
</replaceregexp>
<replaceregexp file="AndroidManifest.xml"
match='android:versionName="(.*)"'
replace='android:versionName="${ver.name}"'
byline="false">
match='android:versionCode="(.*)"'
replace='android:versionCode="${ver.code}"'
byline="false">
</replaceregexp>
<replaceregexp file="AndroidManifest.xml"
match='android:versionName="(.*)"'
replace='android:versionName="${ver.name}"'
byline="false">
</replaceregexp>
网上所有的都不对,今天终于改对了
本文介绍了一种正确更新Android应用版本号的方法,包括版本代码(versionCode)和版本名称(versionName)的具体更新步骤。
2149

被折叠的 条评论
为什么被折叠?



