I may be wrong (in which case, my apologies) but I don't think this line in the Project Attributes section is working
#CustomBuildAction: 3,"C:\Users\PJL\B4A\Version.bat",""
There is no indication in the Compile:Build box that a custom action is being run before the APK is signed and the work intended to be done by the '.bat' file is not happening.
Moreover, if the '.bat' file does not exist no error is thrown. Just to see what happened, I changed the step number to 6 and then an error was thrown if the '.bat' file did not exist.
With thanks. PJL