Android Question (Linux Mint) Error when compiling a B4XPages project.

Celizte

New Member
Whenever I try to compile a B4XPages project I get the following error:

Error Message:
B4A Version: 13.40
Parsing code.    (0.07s)
    Java Version: 19
Building folders structure.    (0.41s)
Running custom action.    Error

I mostly followed this amazing guide: [B4X] Using/running B4A and/or B4J on 64 bit Linux Mint 20.2 Cinnamon with 64 bit Wine, and albeit some of the steps confused me, B4A mostly works with a few minor kinks, it connects to my phone properly so it's good on that part, and it can also compile "Default" projects, even a new B4XPages project gives the same error. Oddly enough, when creating a new "Default" project and then manually adding in the B4XPages library it is still able to compile, I honestly have no idea.

Using a Windows computer does make it able to compile so I'm thinking it's a problem with my Wine or maybe I kept messing a pretty specific step, but I've already reinstalled this like 6 times so I don't want to redo the prefix all over again. I looked on the original thread but it seems I am the only one with this curse.
 
Solution
Comment the #CustomBuildAction line at the top of B4XMainPage:
B4X:
#Region Shared Files
#CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Shared Files" "..\Files"
'Ctrl + click to sync files: ide://run?file=%WINDIR%\System32\Robocopy.exe&args=..\..\Shared+Files&args=..\Files&FilesSync=True
#End Region

Erel

B4X founder
Staff member
Licensed User
Longtime User
Comment the #CustomBuildAction line at the top of B4XMainPage:
B4X:
#Region Shared Files
#CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Shared Files" "..\Files"
'Ctrl + click to sync files: ide://run?file=%WINDIR%\System32\Robocopy.exe&args=..\..\Shared+Files&args=..\Files&FilesSync=True
#End Region
 
Upvote 1
Solution
Cookies are required to use this site. You must accept them to continue using the site. Learn more…