Android Studio创建密钥库错误 [英] Android Studio creating keystore error
问题描述
我想通过Android Studio生成签名APK.这是我的第一个应用程序,因此我需要创建新的密钥库.但是,当我填充文本框并单击确定"时,会出现错误(消息如下).密钥库已导出,但显示错误使我无法使用它.
I want to Generate Signed APK via Android Studio. It's my first app so I need to create new Keystore. But when I fill textboxes and click "OK", error appears (message bellow). Keystore is exported, but showed error scares me to use it.
密钥已创建,但有以下错误:提起_JAVA_OPTIONS:-Xmx512M"
"Key was created with errors: Picked up _JAVA_OPTIONS: -Xmx512M"
推荐答案
制作带签名的APK时,我遇到了同样的问题.我从环境变量中删除了_JAVA_OPTIONS并重新启动了android studio.但是我发现出现此错误是因为我设置了错误的 keystore路径.因此,请确保您设置了正确的密钥库路径以及密钥库名称.
I faced the same issue while making signed APK. I had deleted _JAVA_OPTIONS from environment variables and also restart android studio.But I found this error comes because I have set the wrong keystore path. So make sure you have set right keystore path along with keystore name.
这篇关于Android Studio创建密钥库错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!