Bug? Bug report: B4A 13.50/13.70 compile error with ASSegmentedTab.b4xlib - missing xv_progresstemplate.bal

Niemand

New Member

Summary:​


After upgrading to B4A 13.70, my project no longer compiles when the ASSegmentedTab.b4xlib library is selected. The compilation fails with a missing .bal file inside the generated Objects\b4xlibs\Files folder:

The file "C:\B4A\android\Objects\b4xlibs\Files\xv_progresstemplate.bal" could not be found.

The same project / branch compiles successfully with B4A 13.40. It also compiles successfully on my machine when I switch to a project state before ASSegmentedTab.b4xlib was added.

Reproduction Steps:

  1. Open the B4A project with B4A 13.50/13.70.
  2. Use the project state / branch where ASSegmentedTab.b4xlib has been added.
  3. Select / enable the ASSegmentedTab.b4xlib library in the Libraries Manager.
  4. Make sure the project uses the same sources and libraries that compile successfully with B4A 13.40.
  5. Clean the project / delete the generated Objects folder.
  6. Compile the project.
Actual Behavior:

The compilation fails with the following error:

B4A Version: 13.50 (or 13.70)
Parsing code. (3.00s)
Java Version: 19
Building folders structure. (0.14s)
Running custom action. (0.05s)
Running custom action. (0.32s)
Running custom action. (0.05s)
Running custom action. (0.28s)
Running custom action. (0.06s)
Compiling code. Error
Die Datei "C:\B4A\android\Objects\b4xlibs\Files\xv_progresstemplate.bal" konnte nicht gefunden werden.

The missing file is expected under:

C:\B4A\android\Objects\b4xlibs\Files\xv_progresstemplate.bal

This folder appears to be generated during compilation. It is empty / not yet populated at the beginning of the compilation. It looks like the compiler expects xv_progresstemplate.bal to already be available in this generated folder, but the file is not copied / extracted there before it is needed.

Expected Behavior:

The project should compile successfully with B4A 13.70, as it does with B4A 13.40, or the required .bal resource should be extracted / copied into:

Objects\b4xlibs\Files

before it is needed by the compiler.

Notes (optional):

The problem seems to be related to the combination of:

B4A 13.50/13.70
ASSegmentedTab.b4xlib enabled
generated b4xlibs\Files resource extraction
missing xv_progresstemplate.bal

The issue does not occur in these cases:

- Same project before ASSegmentedTab.b4xlib was added
- Same branch / library setup using B4A 13.40

The issue still occurs after trying the usual cleanup steps:

- Clean Project
- Deleting the generated Objects folder
- Deleting Meta-File
- Restarting B4A
- Rebuilding the project
- Checking / refreshing the library setup

My assumption is that something changed between B4A 13.40 and B4A 13.50/13.70 in the timing or handling of .b4xlib resource extraction. With B4A 13.40 the required file seems to be available before it is needed. With B4A 13.70 it is expected, but not present in the generated Objects\b4xlibs\Files folder.

Additional information (optional):

Environment:

B4A version with error: 13.50, 13.70
B4A version working: 13.40
Library involved: ASSegmentedTab.b4xlib
Error file: xv_progresstemplate.bal
Error path: C:\B4A\android\Objects\b4xlibs\Files\xv_progresstemplate.bal
Project type: classic B4A project, not B4XPages
Target SDK work currently being done: targetSdkVersion 36 / Android 16 Edge-to-Edge migration

It would be helpful to know whether this is a regression in B4A 13.50/13.70 or whether an additional library / resource setup step is now required for .b4xlib files that reference bundled .bal resources.
 

Attachments

  • ASSegmentedTab.b4xlib
    7.9 KB · Views: 30
Last edited:

DonManfred

Expert
Licensed User
Longtime User
ASSegmentedTab.b4xlib library is selected
The library is NOT USING any .bal-Files!!

The error must come from somehwhere but not this library. Check your project and look out for any references to xv_progresstemplate
 

Niemand

New Member
I was able to solve the issue.

The problem was that XUI Views was not selected in the Libraries Manager. After enabling it, the project compiled successfully with B4A 13.70.

I didn’t check this at first because B4A usually reports missing required libraries explicitly. In this case the error only mentioned the missing file:

Objects\b4xlibs\Files\xv_progresstemplate.bal

So it looked more like a resource extraction issue than a missing library selection.
 
Top