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


在配置自定義簽名時出現了"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 
導出! 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM