简体   繁体   English

生成上传密钥时 keytool 错误:java.io.FileNotFoundException: my-upload-key.keystore (Access is denied)

[英]While Generating an upload key keytool error: java.io.FileNotFoundException: my-upload-key.keystore (Access is denied)

While Generating an upload key keytool error: java.io.FileNotFoundException: my-upload-key.keystore (Access is denied)生成上传密钥时 keytool 错误:java.io.FileNotFoundException: my-upload-key.keystore (Access is denied)

在此处输入图像描述

以管理员身份运行 CMD,导航到 C:\\Program Files\\Java\\jdk-17\\bin 并尝试再次生成上传密钥

The C:\\Program Files directory needs administrator privilege to write, you're storing .keystore into it. C:\\Program Files目录需要管理员权限才能写入,您将.keystore存储到其中。

Just move to another directory, eg: your workspace dir.只需移动到另一个目录,例如:您的工作区目录。

make sure that folder really exist.确保该文件夹确实存在。 And after run that with CMD然后用 CMD 运行

暂无
暂无

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

相关问题 keytool 错误:java.lang.Exception:别名<upload>不存在 - keytool error: java.lang.Exception: Alias <upload> does not exist keytool 错误:java.lang.Exception:密钥库文件不存在:React Native 中的 debug.keystore - keytool error: java.lang.Exception: Keystore file does not exist: debug.keystore in React Native 无法创建android版本:java.io.FileNotFoundException(../ node_modules/react-native/undefined) - unable to create android release: java.io.FileNotFoundException (../node_modules/react-native/undefined) Amazon S3上传失败-访问被拒绝 - Amazon S3 upload failed - access denied AWS 将文件上传到 S3 访问被拒绝,具有完全 s3 访问权限的用户 - React Native - AWS upload file to S3 Access Denied with user who has full s3 access - React Native 当我想将设备中的文件发送到我的服务器时,RNFS.upload 意外结束 stream 错误 - RNFS.upload gives unexpected end of stream error while I want to send files in the device to my server Firebase 云消息传递:如何上传 APNs 身份验证密钥? - Firebase Cloud Messaging: how to upload APNs authentication key? 在显示上传错误的 Play 商店中更新 React Native 应用程序时 - while updating the react native app in play store showing Upload error React-Native生成签名APK(错误:缺少密钥库) - React-Native Generating Signed APK (Error: Missing keystore) 使用无头JS时没有因关键错误而注册的任务 - No task registered for key error while using headless JS
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM