码迷,mamicode.com
首页 > 移动开发 > 详细

android 签名被篡改(Keystore was tampered with, or password was incorrect)

时间:2016-04-24 15:43:40      阅读:407      评论:0      收藏:0      [点我收藏+]

标签:

在配置自定义签名时出现了"Keystore was tampered with, or password was incorrect"错误! 

参考文档发现: 

If necessary, you can change the location/name of the debug keystore/key or supply a custom debug keystore/key to use. However, any custom debug keystore/key must use the same keystore/key names and passwords as the default debug key (as described above). (To do so in Eclipse/ADT, go to Windows > Preferences > Android > Build.) 

因为配置的自定义的签名是为了发布时用的,密码也是自定义的公司名称,这样的话就跟默认的debug.keystore 密码android不同,从而导致报错! 

那如此看来,自定义的debug签名就没有任何意义,至少我还没有发现。 

自定义签名只需要在生成apk是由 Android Tools --> Export Signed Application Package 
导出! 

android 签名被篡改(Keystore was tampered with, or password was incorrect)

标签:

原文地址:http://www.cnblogs.com/zhujiabin/p/5427033.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!