Android Question Compile Error

Kevin Hartin

Active Member
Licensed User
Longtime User
I recently moved all of my "Documents" to a second hard drive and now when I try to comile a B4i app, I get the following error.

Code:
Signing package file (private key).    Error
Failed to load signer "signer #1"
java.io.FileNotFoundException: C:\Users\kevin\Documents\B4A\MS_B4X.keystore (The system cannot find the path specified)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(FileInputStream.java:195)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at java.io.FileInputStream.<init>(FileInputStream.java:93)
    at com.android.apksigner.SignerParams.loadKeyStoreFromFile(SignerParams.java:352)
    at com.android.apksigner.SignerParams.loadPrivateKeyAndCertsFromKeyStore(SignerParams.java:239)
    at com.android.apksigner.SignerParams.loadPrivateKeyAndCerts(SignerParams.java:181)
    at com.android.apksigner.ApkSignerTool.getSignerConfig(ApkSignerTool.java:368)
    at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:291)
    at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:84)

If I copy MS_B4X.keystore from where it now resides D:\Documents\B4A back to C:\Users\kevin\Documents\B4A the app compiles, however I would like to do away with the C:\Users\kevin\Documents\B4A directory, but cannot find any reference to it in any B4A or Java settings, manifest or any app code.

Appreciate any guidance on this...

Kev
 
Go to Tools->Private sign key and change the path
 
Upvote 0
Thanks, it was hidden in plain sight...
I recently moved all of my "Documents" to a second hard drive and now when I try to comile a B4i app, I get the following error.

Code:
Signing package file (private key).    Error
Failed to load signer "signer #1"
java.io.FileNotFoundException: C:\Users\kevin\Documents\B4A\MS_B4X.keystore (The system cannot find the path specified)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(FileInputStream.java:195)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at java.io.FileInputStream.<init>(FileInputStream.java:93)
    at com.android.apksigner.SignerParams.loadKeyStoreFromFile(SignerParams.java:352)
    at com.android.apksigner.SignerParams.loadPrivateKeyAndCertsFromKeyStore(SignerParams.java:239)
    at com.android.apksigner.SignerParams.loadPrivateKeyAndCerts(SignerParams.java:181)
    at com.android.apksigner.ApkSignerTool.getSignerConfig(ApkSignerTool.java:368)
    at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:291)
    at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:84)

If I copy MS_B4X.keystore from where it now resides D:\Documents\B4A back to C:\Users\kevin\Documents\B4A the app compiles, however I would like to do away with the C:\Users\kevin\Documents\B4A directory, but cannot find any reference to it in any B4A or Java settings, manifest or any app code.

Appreciate any guidance on this...

Kev
 
Upvote 0
Back
Top