zoukankan      html  css  js  c++  java
  • Version Code (Android)

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

  • 相关阅读:
    其他:Oracle并购sun之后的影响之我见
    60款很酷的 jQuery 幻灯片演示和下载
    分享35个高质量的 Apple 风格图标素材
    25个漂亮的旅游网站设计作品欣赏
    tomcat内存溢出总结
    一个非常强大完整的web表单验证程序
    java socket (回顾)
    jdbc 公共类(2)
    各大IT公司笔试真题汇总
    软件公司的岗位职责
  • 原文地址:https://www.cnblogs.com/superchao8/p/2296131.html
Copyright © 2011-2022 走看看