51Testing软件测试论坛

标题: 使用 ant 发布 android 包却报 Keystore was tampered with, or password was inc... [打印本页]

作者: 测试积点老人    时间: 2018-9-21 11:56
标题: 使用 ant 发布 android 包却报 Keystore was tampered with, or password was inc...
使用ant发布android包一直报Keystore was tampered with, or password was incorrect: Password verification failed错误
在local.properties文件中已配置好签名信息,密码是一定是正确的;
  1. key.store=E:\ADC\ADCWorkSpace\product\mobile\base\eap-mobile\android\Contacts\contactkey
  2. key.store.password=1qaz@WSX
  3. key.alias=contacts
  4. key.alias.password=1qaz@WSX
  5. proguard.config=proguard.cfg
  6. 另外在build.xml文件中project 改成了release模式
  7. <?xml version="1.0" encoding="UTF-8"?>
复制代码



错误信息:
  1. BUILD FAILED
  2. D:\soft\Android\sdk\tools\ant\build.xml:1132: The following error occurred while executing this line:
  3. D:\soft\Android\sdk\tools\ant\build.xml:1144: Keystore was tampered with, or password was incorrect: Password verification failed
复制代码


如果采用非签名发布方式,是可以发布成功的;但是使用签名方式发布就一直报错,麻烦高手们帮看下这个问题,谢谢!
作者: jingzizx    时间: 2018-9-25 13:11
只能查看证书是否正确,再检查一遍
作者: qqq911    时间: 2018-9-25 13:20
证书检查下,密码可以修改没有特殊字符的试试
作者: 梦想家    时间: 2018-9-25 13:46
查看证书是否正确




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2