测试积点老人 发表于 2018-9-21 11:56:43

使用 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文件中已配置好签名信息,密码是一定是正确的;
key.store=E:\ADC\ADCWorkSpace\product\mobile\base\eap-mobile\android\Contacts\contactkey
key.store.password=1qaz@WSX
key.alias=contacts
key.alias.password=1qaz@WSX
proguard.config=proguard.cfg
另外在build.xml文件中project 改成了release模式
<?xml version="1.0" encoding="UTF-8"?>


错误信息:
BUILD FAILED
D:\soft\Android\sdk\tools\ant\build.xml:1132: The following error occurred while executing this line:
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:58

只能查看证书是否正确,再检查一遍

qqq911 发表于 2018-9-25 13:20:51

证书检查下,密码可以修改没有特殊字符的试试

梦想家 发表于 2018-9-25 13:46:08

查看证书是否正确
页: [1]
查看完整版本: 使用 ant 发布 android 包却报 Keystore was tampered with, or password was inc...