Good morning I managed to install B4A on ubuntu 18.04 but with wine 8.0.0 I had a lot of problems, so I went back to wine 7.0.0~bionic.
For that you can block the versions of the packages for my case at wine 7.0.0~bionic
I hope not to give a bad idea.
From version 12.0 B4A is in 64 bits.
Apart from some adjustments in winetricks + the installation of B4A, for my part I installed everything in console mode.
Also you have to copy the directories containing the Android and java files to the c: drive of wine.
Note that , to use B4bridge you need adb 1.0.40 otherwise it doesn't work.
To access your wine hard drive, it's in your home and it's the hidden folder named .wine (the dot "." in front of a directory or file name) is used to hide it .wine will be cached .bashrc is also hidden If you remove the dot "." it will appear (bad idea)
"winne --version" is used to know what version of wine we are.
"wineconsole" starts a windows command prompt.
"exit" exits wineconsole or cmd mode of wine. Also "exit" allows you to quit the linux console.
I use "winecfg" to set windows version.
Here are some lines I found on my ~.bashrc you have to install what they call a 64bit bottle.
You must install winetricks and update it , for update winetricks try the command : "sudo winetricks --self-update"
Configure your wineprefix with arch = 64bit
"WINEPREFIX="/home/yourHOME/winedrive/wine64" winetricks"
"WINEPREFIX="/home/yourHOME/winedrive/wine64"
"WINEARCH=win64 wine wineboot --restart"
uou must install dotnet4.5.2 and vcrun2010 with the command :
"winetricks dotnet452 vcrun2010"
with the "winecfg" command you can set the version of windows you want me it's win 7
Also in winetricks depending on the windows version options like ddr=gdi, etc... disappear and appear when setting winetriks.
Good luck.