can't the get signConfig for this build报错的解决方案
来源:互联网 发布:淘宝预约快递寄件 编辑:程序博客网 时间:2024/06/07 06:22
有好些朋友在使用腾讯bugly热修复时可能会遇到这样的问题:
首先用assembleRelease打的基准包都是unsigned的,而不是官方文档所说的app_released.apk 这样的,包括在使用buildTinkerPatchRelease打补丁的时候报了can't the get signConfig for this build 这样的ERROR,其原因就在于签名的环节出了问题。
Android在对应用签名的时候有两种方案
1种是我们常见的使用generate Signed 进行签名,我不再赘述。
2就是在项目的build.gradle文件下配置的SigningConfig 信息。如下图:
其实,这段代码并不能简单的copy下改改自己的jks与密码就行的,应为我就是这么搞过后出错的,真相就是这段代码是生成出来的,具体步骤如下:
1.打开“Build——>Edit Build Types”
2.点击signing 配置好你的jks文件 (alias,password等等),
3.回到buildTypes 选择是debug版的签名配置还是release版,这里我选择的是release版,选择好刚刚配置完的config签名,一路点击OK下去,等rebuild完成后,就能在你的bulid.gradle文件下看到上文所展示的代码。
再次打出基准包后,所展示的就是已经签名过后的APK文件了。【完】
阅读全文
0 0
- can't the get signConfig for this build报错的解决方案
- Mysql can't get hostname for you address解决方案
- Navicat连接Mysql报1042- Can't get hostname for your address错误的解决办法
- 升级iOS7遇到问题This device isn't eligible for the requested build的解决方法
- GraphicsMagick报错:this most likely means the gm/convert binaries can't be found
- GraphicsMagick报错:this most likely means the gm/convert binaries can't be found
- MySQL连接远程数据库报错 1042Can't get hostname for your address
- phprpc Can't find the key for decryption 解决方案
- Can't get the locations
- StrutsSpringTestCase中使用convention报Couldn't get resource paths for class path resource的解决方案
- MySQL报错“ you can't specify the target table for ‘update’ in from clause”
- Can't load native library. CPU arch invalid for this build
- Maven报错 解决方案。ERROR: No goals have been specified for this build. You must specify a valid lifecycle
- LoadRunner使用odbc时报错can't get hostname for your address的解决方法
- 报错:failed to get the task for process XXX(解决方案)
- 『IOS』报错:failed to get the task for process XXX(解决方案)
- 报错:failed to get the task for process XXX(解决方案)
- 报错:failed to get the task for process XXX(解决方案)
- 百思不得其解的WebAPI控制器匹配BUG
- python中使用 C 类型的数组以及ctypes 的用法
- android studio 中shape的使用
- Centos7.3_64位服务器下搭建Nginx+Tomcat多域名多站点访问
- Linux下mysql忘记密码解决方法
- can't the get signConfig for this build报错的解决方案
- Android 实现聊天-smack4.19
- XAudio2 (一)
- 整数字符串转换
- TOP100summit 2017 七牛云许式伟:不用JAVA和C语言,我为什么坚持Go语言
- connDB
- getResponseCode()未报错没反应
- lwip stm32 异常分析
- Hadoop安装教程_单机/伪分布式配置_Hadoop2.6.0/Ubuntu14.04