This is the problem I encountered when I used java keytool to generate certificates this afternoon
Cause error:
Keytool error: java.io.FileNotFoundException : MyAndroidKey.keystore (access denied)
Analyze the problem:
When the certificate is generated, the permissions are not enough when writing to disk C. The properties of all the directories under C disk are read-only.
terms of settlement:
Method 1:
the path of JDK is in disk C. you can move JDK to other disk letters.
Method 2:
this method is the simplest to open CMD as an administrator, so that the error will not occur when writing something.
Read More:
- log4j:ERROR
- Method of modifying file and folder permission by Chmod command in Linux
- Keytool error: java.io.FileNotFoundException
- 8、Forbidden (CSRF token missing or incorrect.): /register/
- Solve the problem of VC6.0 open crash and OpenGL glut32.lib library
- import org.junit.Test And @ test error reporting — solutions
- Failed to load vmmr0.r0 (Verr_ SUPLIB_ PATH_ NOT_ CLEAN).
- When nodejs is installed: the error code is 2503
- The solution of “failed to load ldlinux. C32” in Linux system
- Writing to settings when appium of Xiaomi mobile phone and oppo mobile phone starts requires:android.permission.WRITE_ SECURE_ SETTINGS
- Solution to server application error in IIS 5.1
- move_uploaded_file() failed to open stream: Permission denied
- VS2010 library function problem: objidl. H (11266): error c2061: syntax error: identifier ‘__ RPC__ out_ xcount_ part’
- fatal: protocol ‘https‘ is not supported
- Error: JMeter monitors Linux system performance java.net.ConnectException : Connection timed out: connect
- NPM ERR! Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’
- keytool error: java.lang.Exception: Failed to establish chain from reply
- [Vue] install vuex, error: eperm: operation not permitted, rename
- In the XML configuration file of spring jdbc.properties The connection to the database failed due to garbled code
- Idea error: error in method comment @ param parameter