I successfully created a signing key with JDK version 11 and sent my .apk file to Google who requested some modifications. I have now, two months later, made these modifications.
But now I find that the only available version of the Java Development Kit is version 12.0.1 (not version 11, which I have uninstalled). I have used version 12.0.1 in three unsuccessful attempts to create a signing key, and I have re-installed it twice.
In each attempt, after I go to the “…Java\bin” sub-directory, input the recommended “getkey” command and insert all of my contact details, I got the same diagnostic error which seems to be about a missing file, as follows:
“keytool error: java.io.FileNotFoundException: PlanPrediction.keystore (Access is denied)
java.io.FileNotFoundException: PlanPrediction.keystore (Access is denied)
at java.base/java.io.FileOutputStream.open0(Native Method)
at java.base/java.io.FileOutputStream.open(FileOutputStream.java:292)
at java.base/java.io.FileOutputStream.(FileOutputStream.java:235)
at java.base/java.io.FileOutputStream.(FileOutputStream.java:124)
at java.base/sun.security.tools.keytool.Main.doCommands(Main.java:1333)
at java.base/sun.security.tools.keytool.Main.run(Main.java:409)
at java.base/sun.security.tools.keytool.Main.main(Main.java:402)”
To me, the problem seems to be either an error with JDK version 12.0.1 or, perhaps, the software is somehow confusing my updated app with the previous version.
Does anyone have any suggestions for overcoming this error?