1. I sign the app wihin B4A and got myprivatekey.keystore
2. Download perk
java -jar pepk.jar --keystore=C:\_B4X_folders\B4A\Projects\myprivatekey.keystore --alias=b4a --output=C:\_B4X_folders\B4A\Projects --encryptionkey=eb1.....e6aa
I use the same password when created the b4a private key for myprivatekey.keystore and the alias (b4a)
But got error
Error: Unable to export or encrypt the private key
java.nio.file.AccessDeniedException: C:\_B4X_folders\B4A\Projects
at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source)
at java.nio.file.spi.FileSystemProvider.newOutputStream(Unknown Source)
at java.nio.file.Files.newOutputStream(Unknown Source)
at java.nio.file.Files.write(Unknown Source)
at com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.run(ExportEncryptedPrivateKeyTool.java:158)
at com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.main(ExportEncryptedPrivateKeyTool.java:110)
PS C:\_b4x_folders\b4a\projects>
Any suggestions to unstack?
2. Download perk
java -jar pepk.jar --keystore=C:\_B4X_folders\B4A\Projects\myprivatekey.keystore --alias=b4a --output=C:\_B4X_folders\B4A\Projects --encryptionkey=eb1.....e6aa
I use the same password when created the b4a private key for myprivatekey.keystore and the alias (b4a)
But got error
Error: Unable to export or encrypt the private key
java.nio.file.AccessDeniedException: C:\_B4X_folders\B4A\Projects
at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source)
at java.nio.file.spi.FileSystemProvider.newOutputStream(Unknown Source)
at java.nio.file.Files.newOutputStream(Unknown Source)
at java.nio.file.Files.write(Unknown Source)
at com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.run(ExportEncryptedPrivateKeyTool.java:158)
at com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.main(ExportEncryptedPrivateKeyTool.java:110)
PS C:\_b4x_folders\b4a\projects>
Any suggestions to unstack?