Other B4A v10.7 is available for download

Status
Not open for further replies.

Erel

B4X founder
Staff member
Licensed User
Longtime User
Download link: https://www.b4x.com/b4a.html

In the last couple of years, Google made many changes to Android, quite complex, building toolchain. With a few workarounds, it was possible to keep using the older tools, but at this point we have reached their limits.

This update replaces several components of the underlying tools (AAPT2, APKSigner and AAB bundle tool).
It solves all kinds of limitations including:
  • Support for signing scheme v2, which is required when setting targetSdkVersion to 30.
  • Support for building app bundles. This type of package will be required by Google Play, for new apps, later this year.
  • Support for newer versions of SDK resources.
It can also provide some performance improvements.

These are under the hood changes. The behavior should be exactly as before.

Bundles - AAB

There is a new build bundle option:

1614076659519-png.108598


There is no reason to build bundles (AABs) except for Google Play submissions.
You need to download bundletool.jar and put it in <android sdk>\tools\bin

A new attribute named #SignKeyAlgorithm was added together with a new automatic conditional compilation symbol - AAB, they can be used in cases where the AAB signing key is different than the standard key. This is relevant for new apps:
B4X:
#if AAB
    #SignKeyFile: my-release-key.jks
#SignKeyPassword: xxxxxxx
#SignKeyAlgorithm: -digestalg SHA1 -sigalg SHA256withRSA
#end if

There are some old third party libraries that are not compatible with the new toolchain (DesignSupport for example). If your project depends on such library then you can keep a copy of B4A 10.6. B4A 10.6 is not compatible with targetSdkVersion=30 so it is only a temporary solution.


B4A 10.7 depends on a recent version of the build tools. If you get an error similar to:

Signing package file (debug key). Error
Unsupported option: --v3-signing-enabled. See --help for supported options.

Then you are using an old version of Android SDK and need to upgrade. It is very simple to upgrade the SDK: https://www.b4x.com/b4a.html

Download link: https://www.b4x.com/b4a.html
 
Last edited:

free2end

Member
Licensed User
i had started a project with 10.6
the computer had a serious hardware problem
bought a new one
trying to get back to the same "environment"
 
Upvote 0
Hi,
I am developing a handheld application with barcode scanner for warehouse and retail stores use.
This handheld's version is KitKat 4.4.2 without google play service (Zebra Technology MC36) while the latest version is Android 11.0
Is B4A 10.7 suitable for my situation? My current B4A version is 10.0
 
Upvote 0

jcesar

Active Member
Licensed User
Longtime User
Where should i put this ?

B4X:
#if AAB
    #SignKeyFile: my-release-key.jks
#SignKeyPassword: xxxxxxx
#SignKeyAlgorithm: -digestalg SHA1 -sigalg SHA256withRSA
#end if
 
Upvote 0
Status
Not open for further replies.
Top