Version Code 版本设置

settings =
{
        android =
        {
                versionCode = "3"
        },
    
        androidPermissions =
        {
                "android.permission.ACCESS_FINE_LOCATION",
                "android.permission.INTERNET"
        },
    
        orientation =
        {
                default = "landscape"
        },
}

 

Version Code (Android)

The version code can be set within an optional “android” table in build.settings. See the code above for an example.

For more information, see android:versionCode on this page.

Note that this version code is an internal number used to distinguish application releases for the Android Marketplace, and is different than the version given in the Corona build dialog. The latter determines the version number displayed to the end user, also known as android:versionName.

 注意version code 是一个内部的数字,用于在android Marketplace发布时,上传应用的检测。简单的方法是有新版本发布时加一。这跟Corona生成对话框中的version name不同,version name是显示给用户看的,被称为是android:versionName。

 

http://developer.anscamobile.com/content/configuring-projects

One possible scheme is to set versionCode to "10", for version 1.0. The next upgrade would be "11", for version 1.1

你可以一开始把versionCode设置为10,version name 为1.0。下次升级时为11,1.1,这要保持同步。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值