博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
android 直接run签名包
阅读量:4283 次
发布时间:2019-05-27

本文共 766 字,大约阅读时间需要 2 分钟。

选中项目,右键 -> open Module Setting

 

Module -> app-> 选项卡(Signing),添加release

Build Types选项卡,选中debug中的Signing Config,选择“debug”,这个也是刚刚在signing配置时自己添加取的名。

 

app下的builde.gradle配置:

signingConfigs {        release {            keyAlias "name_xxx"            keyPassword "pwd_xxx"            storeFile file("D:/xxx.jks")            storePassword "pwd_xxx"        }        debug {            keyAlias 'name_xxx'            keyPassword 'pwd_xxx'            storeFile file('D:/xxx.jks')            storePassword 'pwd_xxx'        }    }
buildTypes {        release {            minifyEnabled false            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'        }        debug {            signingConfig signingConfigs.release        }    }

 

转载地址:http://nfcgi.baihongyu.com/

你可能感兴趣的文章
How to initialize an array in C
查看>>
DRAM test code
查看>>
daemon to monitor firm upgrade
查看>>
第一個gtestcode
查看>>
Google gTest
查看>>
c++ thread and mutex(c++11)
查看>>
effective c++系列勘誤
查看>>
Clean Code閱讀筆記
查看>>
字符串解析出int和bool等类型的值
查看>>
查看".rmp"內容
查看>>
make jffs2
查看>>
windows上的Terminal
查看>>
HxDSetupEN 分析binary file超好用(window)
查看>>
講解TS
查看>>
Tutorial:Streaming using VLC
查看>>
DVB
查看>>
javascript
查看>>
SUID/SGID/SBIT 權限設定
查看>>
sctp协议在ubuntu12.04中怎样开启
查看>>
VxWork介绍及编程
查看>>