Android Question Compile Stopping

Pelky

Active Member
Licensed User
Longtime User
B4X:
B4A Version: 12.20
Parsing code.    (0.01s)
    Java Version: 11
Building folders structure.    (0.01s)
Running custom action.    (0.03s)
Compiling code.    (0.05s)
Compiling layouts code.    (0.00s)
Organizing libraries.    (0.00s)
    (AndroidX SDK)
Compiling resources    (0.09s)
Linking resources    (0.17s)
Compiling debugger engine code.    (0.99s)
Compiling generated Java code.    (1.04s)
Finding libraries that need to be dexed.    (0.00s)
Dex code    (1.34s)
Dex merge    (1.03s)
Copying libraries resources    (0.08s)
ZipAlign file.    (0.04s)
Signing package file (private key).    Error
Failed to load signer "signer #1"
java.io.FileNotFoundException: C:\Dev\TimeSheet\B4A\Objects\Pkey.keystore (The system cannot find the file specified)
    at java.base/java.io.FileInputStream.open0(Native Method)
    at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
    at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
    at java.base/java.io.FileInputStream.<init>(FileInputStream.java:112)
    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)


I was working on an app about 3 weeks ago and came back to it today and tried to compile it.
The compile starts fine and then just stops at the above location.

I have changed nothing so am at a lost as to what has happened.

I would appreciate some assistance.
 

Pelky

Active Member
Licensed User
Longtime User
SOLVED
Thank you Erel. I did look at the private sign key and created a new one - showed as created etc. but still had the error. However
I have done it again and it has now worked.

Thank you very much for your assistance
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…