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,这要保持同步。

更多相关文章

  1. Android(安卓)Native Development Kit (NDK)
  2. Android(安卓)Studio 生成UML类图
  3. android调用系统分享
  4. Android(安卓)NDK, Revision 8b 发布
  5. Android(安卓)Studio NDK开发浅谈
  6. Android如何防止异常奔溃以及拿到crash日志,处理线上问题定位
  7. 生成android的bks证书
  8. Android之国际化(在程序内部强制转换语言)
  9. Android(安卓)4.0 gallery2 生成video thumbnail的过程

随机推荐

  1. jQuery:流体同位素仅在调整大小后才工作
  2. html中显示div的时候,超出浏览器的宽,怎么
  3. 用Jsoup实现html中标签替换
  4. 一步一步学Silverlight 2系列(3):界面布局
  5. vim / vi / linux:正确缩进html文件
  6. Javascript将ID添加到HTML href
  7. 如何使用JavaScript验证此HTML表单?
  8. 怎么用.net把带html标签的字符导出到Exce
  9. 使用window.open将变量传递给新的HTML
  10. 你能告诉为什么javascript函数没有在prof