Android Question Signing package file (private key). Error

b4auser1

Well-Known Member
Licensed User
Longtime User
I have setup and configured B4A following the manual [B4X] Using/running B4A and/or B4J on 64 bit Linux Mint 20.2 Cinnamon with 64 bit Wine
I created a B4Xpages project from the template and tried to run in it on a device using B4A-Bridge.

Unfortunately, the IDE raised an error, see below.
What is the reason and how to resolve it ?

B4A Version: 12.80
Parsing code. (0.04s)
Java Version: 14
Building folders structure. (0.03s)
Compiling code. (0.07s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
(AndroidX SDK)
Compiling resources (0.51s)
Linking resources (1.00s)
Compiling debugger engine code. (0.01s)
Compiling generated Java code. (0.01s)
Finding libraries that need to be dexed. (0.01s)
Dex code (2.00s)
Dex merge (3.45s)
Copying libraries resources (0.06s)
ZipAlign file. (0.07s)
Signing package file (private key). Error
Exception in thread "main" java.io.IOException: Call not implemented
at java.base/java.io.RandomAccessFile.setLength(Native Method)
at com.android.apksig.ApkSigner.sign(ApkSigner.java:216)
at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:395)
at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:92)
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…