Private sign keys created with B4A v7.80 or less together with Java 8u151+ will fail with the above error message. Note that it does not affect existing keys. It is related to a change in the default key size. It is fixed for the next update of B4A. As a workaround you can switch to Java...
www.b4x.com