Android Question "b4a Signing package file (private key)" Error since B4A V10.7

gvds

New Member
Since the latest B4A update (V10.70) I can no longer compile my old and new B4A projects.

During compiling U receive this error: “ Signing package file (private key). Error Unsupported option: --v4-signing-enabled. See --help for supported options.”

Nothing is changed on my computer. I never had problems before with my key.
I already have reinstalled the Android SDK as explained in https://www.b4x.com/b4a.html#installation . But this problem remains.

When I downgrade to V10.50 this problem doesn’t occur.

My path config is in attachment.
 

Attachments

  • Knipsel.JPG
    Knipsel.JPG
    56.3 KB · Views: 240

Beja

Expert
Licensed User
Longtime User
Path to android.jar is wrong.

Carefully follow the installation instructions and it will work: https://www.b4x.com/b4a.html
Hi Erel,
I had the same problem and the I just made sure the android.jar path was correct, but the error msg is still there.
 

Attachments

  • ConfigPathes.png
    ConfigPathes.png
    17.4 KB · Views: 112
  • ConfigPathes2.png
    ConfigPathes2.png
    14.5 KB · Views: 115
Upvote 0

Beja

Expert
Licensed User
Longtime User
maybe (1) in path caused this problem?

Thanks and I removed the special chars.. this is the error message now:

ZipAlign file. (0.13s)
Signing package file (private key). Error
Failed to load signer "signer #1"
java.io.FileNotFoundException: keyfile00 (The system cannot find the file 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)

1656028504650.png
 
Upvote 0

mcqueccu

Well-Known Member
Licensed User
Longtime User
Thanks and I removed the special chars.. this is the error message now:

ZipAlign file. (0.13s)
Signing package file (private key). Error
Failed to load signer "signer #1"
java.io.FileNotFoundException: keyfile00 (The system cannot find the file 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)

View attachment 130747
Have you tried loading your keystore file again?

Go-to Tools -> Private Sign Key
Click on Load Existing key
Click on browse to select your keystore file
Enter the keystone password and click OK
 
Upvote 0

Beja

Expert
Licensed User
Longtime User
Have you tried loading your keystore file again?

Go-to Tools -> Private Sign Key
Click on Load Existing ke
Click on browse to select your keystore file
Enter the keystone password and click OK

Have you tried loading your keystore file again?

Go-to Tools -> Private Sign Key
Click on Load Existing key
Click on browse to select your keystore file
Enter the keystone password and click OK

Perfect! all thumps up mcqueccu, thanks Erel and all who contributed to this.
Now everything's working like a charm.. Thank you so much
 
Last edited:
Upvote 0
Top