1、生成密钥文件到app工程目录下
2、在gradle.properties文件下配置密钥文件信息
# Project-wide Gradle settings. # IDE (e.g. Android Studio) users: # Gradle settings configured through the IDE *will override* # any settings specified in this file. # For more details on how to configure your build environment visit # http://www.gradle.org/docs/current/userguide/build_environment.html # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. org.gradle.jvmargs=-Xmx1536m # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true RELEASE_KEY_PASSWORD=key-password RELEASE_KEY_ALIAS=key-alias RELEASE_STORE_PASSWORD=store-password #jks文件名 RELEASE_STORE_FILE=sugr-ivy.jks
当前标题:Androidbuild.gradle版本名打包配置的方法-创新互联
网站链接:https://www.cdcxhl.com/article24/cegcce.html
成都网站建设公司_创新互联,为您提供网站内链、品牌网站制作、网站建设、网页设计公司、App开发、定制开发
声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联