前面说设置custom debug keystore会有两种常见的报错,现在来解决前面提到的Keystore was tampered with, or password was incorret和Unable to find debug key in keystore!报错。这两个提示看起来就像是两个不同的问题,其实就是同一个。处理也比较简单。
新建一个keystore文件:
新鲜的test3.keystore文件的密码为android
next 中意这里的alias 是 androiddubugkey 密码是android 其它的不是很重要。
next —> finish 同样将生成的keystore设置到custom debug keystore这是就不会有提示了,说明我们已经解决了前面的两个问题,并成功的替换了Eclipse打包的默认的签名keystore。
注意 要点击OK/apply后才表示设置成功。