简体   繁体   English

从Eclipse / Android开发人员工具导出.apk时出错

[英]Error when exporting .apk from Eclipse / Android Developer Tools

Every time I try to export the project I get the error: 每次尝试导出项目时,都会收到错误消息:

android keytool error: java.lang.Exception: Key pair not generated, alias already exists android keytool错误:java.lang.Exception:密钥对未生成,别名已存在

  • I tried making a new key and using my old key - neither work 我尝试制作新密钥并使用旧密钥-均无效
  • I've tried saving it in a different location - even created new folders to ensure there were no conflicts 我尝试将其保存在其他位置-甚至创建了新文件夹以确保没有冲突
  • tried filling out all new credentials when creating the key - same error: 尝试在创建密钥时填写所有新凭据-相同的错误:

"android keytool error: java.lang.Exception: Key pair not generated, alias already exists" “ android keytool错误:java.lang.Exception:密钥对未生成,别名已存在”

This problem is the building .apk not success. 这个问题是建设.apk没有成功。 May be file name in drawable is invalid..etc.. 可能是drawable中的文件名无效..等等。

try Export an unsigned APK and sign it manually in 尝试导出未签名的APK并在中手动对其进行签名

appManifest.XML > design> export

Fix all errors can occur. 修复可能发生的所有错误。

Then you can export apk use key normal. 然后,您可以使用正常的密钥导出apk。

Hope this help! 希望对您有所帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM