Android Tutorial Basic4Android for Linux (Ubuntu) - Installation Script

Hy everyone,

Here is a little script to install Basic4Android on Linux (realized and tested on Ubuntu 12.04 LTS 64bit )

To run this script:
1 - Edit B4A_Installer_en.sh with your favorite text editor
2 - replace the contents of variables ProgInstallB4A and UrlB4A ...
ProgInstallB4A=b4a-trial.exe
UrlB4A=http://www.b4x.com/android/files/$ProgInstallB4A​
...by the name and the url for downloading full version program.
3 - run a terminal
4 - from the terminal run the script B4A_Installer_en.sh
5 - respond with 'y' ( yes) to all questions of installation process

except Java for Linux and Wine 1.6, all components are installed on $HOME/workspace_b4a. So simply delete directory to remove this installation.

There is no copyright, then you can modify this script.

Note for Erel : I think it's not very hard to do Basic4android fully compatible Linux.
It should :
- Adapt the code for Mono (few changes to do).
- Allow to execute scripts and bin included in Android SDK for Linux.
- Allow to execute java bin for linux.
I think it is worth to implement this solution. I would thrilled to participate (if you want).

Sorry for this very bad translation - Thanks to Google Translate ;-)

Best Regards.

File updated 15/11/2013: change the installation script, replacing installation of "windows6.1-KB976932-X86.exe" (too heavy) by adding command "WINEDLLOVERRIDES=gdiplus=n" in the launcher.

File updated 05/05/2014: change the installation script, included Java 1.7.0_55 and android-sdk_r22.6.1-linux

File updated 06/05/2014:Update installation script, few fixes in lib_Installer.sh and B4A_Installer_en.sh
 

Attachments

  • B4A_Installer_en.zip
    6.4 KB · Views: 989
Last edited:

joseluis

Active Member
Licensed User
Longtime User
I've updated the script to use latest versions of java and android sdk. In Lubuntu 14.04 (with wine 1.6.2) it finally works perfectly for me so I've not modified anything else in the script. Also I had already installed java in linux before, like this:

B4X:
sudo apt-get install openjdk-7-jdk

During linux SDK installation I chose to install android-20 platform, minus source-code, docs and examples. When the installation finished, I opened the b4a IDE and configured the paths like this:
B4X:
javac.exe        C:\Program Files\Java\jdk1.7.0_67\bin\javac.exe
android.jar      Z:\home\MYUSER\workspace_b4a\android-sdk-linux\platforms\android-20\android.jar

The device connected well via wifi (with a warning message). But on compilation it gave this error:
Error: Unable to access jarfile Z:\home\MYUSER\workspace_b4a\android-sdk-linux\tools\..\platform-tools\lib\dx.jar

That file is located under build-tools/lib, not platform-tools/lib. So I had to manually create a symlink (this is not in the script) since the paths where not the ones the b4a IDE is expecting:
B4X:
cd ~/workspace_b4a
ln -s ../build-tools/20.0.0/lib android-sdk-linux/platform-tools/lib

After that it now works beautifully!

Thank you zolive33 for your work, I still can't belive I have b4a IDE finally working in linux :)

EDIT 2014-09-20: added a readme.txt with relevant info
 

Attachments

  • B4A_Installer_en_20140914.zip
    4.5 KB · Views: 298
  • B4A_Installer_en-2014-09-20.zip
    5 KB · Views: 331
Last edited:

johnaaronrose

Active Member
Licensed User
Longtime User
I've updated the script to use latest versions of java and android sdk. In Lubuntu 14.04 (with wine 1.6.2) it finally works perfectly for me so I've not modified anything else in the script. Also I had already installed java in linux before, like this:

B4X:
sudo apt-get install openjdk-7-jdk

During linux SDK installation I chose to install android-20 platform, minus source-code, docs and examples. When the installation finished, I opened the b4a IDE and configured the paths like this:
B4X:
javac.exe        C:\Program Files\Java\jdk1.7.0_67\bin\javac.exe
android.jar      Z:\home\MYUSER\workspace_b4a\android-sdk-linux\platforms\android-20\android.jar

The device connected well via wifi (with a warning message). But on compilation it gave this error:


That file is located under build-tools/lib, not platform-tools/lib. So I had to manually create a symlink (this is not in the script) since the paths where not the ones the b4a IDE is expecting:
B4X:
cd ~/workspace_b4a
ln -s ../build-tools/20.0.0/lib android-sdk-linux/platform-tools/lib/

After that it now works beautifully!

Thank you zolive33 for your work, I still can't belive I have b4a IDE finally working in linux :)

The problem referred to in my previous post still applies:
Java installed OK. However, I think that there is another problem afterwards:
2014-05-06 08:58:47 (521 KB/s) - ‘/home/john/workspace_b4a/temp/b4a-trial.exe’ saved [3815553/3815553]

/home/john/Downloads/lib_Installer.sh: line 25: /dosdevices/c:/windows/temp/override-dll.reg: No such file or directory
/home/john/Downloads/lib_Installer.sh: line 26: /dosdevices/c:/windows/temp/override-dll.reg: No such file or directory
/home/john/Downloads/lib_Installer.sh: line 27: /dosdevices/c:/windows/temp/override-dll.reg: No such file or directory
/home/john/Downloads/lib_Installer.sh: line 33: /dosdevices/c:/windows/temp/override-dll.reg: No such file or directory
wine: invalid directory in WINEPREFIX: not an absolute path
rm: cannot remove ‘/dosdevices/c:/windows/temp/override-dll.reg’: No such file or directory

Also, there is no directory android-sdk-linux/platform-tools/lib/ in workspace_b4a.
PS I am using Ubuntu Trusty 64 bit with Wine 1.6.2 (provided by Ubuntu's Wine Dev team) & openjdk-7 package is installed.
 

joseluis

Active Member
Licensed User
Longtime User
Hi johnaaronrose, I'd recommend to you to move out the wine configuration folder and try again. I bet the problem is in there.
  1. Move the wine configuration folder, just in case configuration is wrong. (do you have many more windows programs installed?)
  2. Make sure winetricks is installed. and that it runs.
  3. Delete workspace_b4a/wine_b4a folder
B4X:
cd ~
mv ~/.wine ~/.wine-backup

sudo apt-get install winetricks
winetricks

rm -r workspace_b4a/wine_b4a

Start installation again. If you hadn't deleted the 'android-sdk-linux folder', you can skip that step and avoid spending half an hour. The same with java for linux, if you have it installed just press 0 on the question. You'll need to install java for windows though.


Also, there is no directory android-sdk-linux/platform-tools/lib/ in workspace_b4a.
That's the thing. After installation finished I had to create a symlink there pointing to android-sdk-linux/build-tools/20.0.0/lib because b4a searches for it there.
 

johnaaronrose

Active Member
Licensed User
Longtime User
B4X:
cd ~/workspace_b4a
ln -s ../build-tools/20.0.0/lib android-sdk-linux/platform-tools/lib/
Hi johnaaronrose, I'd recommend to you to move out the wine configuration folder and try again. I bet the problem is in there.
  1. Move the wine configuration folder, just in case configuration is wrong. (do you have many more windows programs installed?)
  2. Make sure winetricks is installed. and that it runs.
  3. Delete workspace_b4a/wine_b4a folder
B4X:
cd ~
mv ~/.wine ~/.wine-backup

sudo apt-get install winetricks
winetricks

rm -r workspace_b4a/wine_b4a

Start installation again. If you hadn't deleted the 'android-sdk-linux folder', you can skip that step and avoid spending half an hour. The same with java for linux, if you have it installed just press 0 on the question. You'll need to install java for windows though.



That's the thing. After installation finished I had to create a symlink there pointing to android-sdk-linux/build-tools/20.0.0/lib because b4a searches for it there.

Thanks for the instructions. They worked OK. BTW dx.jar is in ~/workspace_b4a/android-sdk-linux/build-tools/20.0.0/lib. So code below doesn't work:
B4X:
cd ~/workspace_b4a
ln -s ../build-tools/20.0.0/lib android-sdk-linux/platform-tools/lib/
 

doogal

Member
Licensed User
Longtime User
Hello, I'm trying to follow this thread and I'm getting an error.
B4X:
Parsing code.                           0.01
Compiling code.                         0.09
Compiling layouts code.                 0.02
Generating R file.                      Error
Cannot find: Z:\home\dougie\workspace_b4\android-sdk-linux\platform-tools\aapt.exe
Please configure paths (Tools - Configure Paths).
Can someone tell me why I am getting this error?

My Paths are as Follows:
B4X:
javac.exe C:\Program Files\Java\jdk1.7.0_67\bin\javac.exe
android.jar Z:\home\dougie\workspace_b4a\android-sdk-linux\platforms\android-14\android.jar

Thank you :)
 

doogal

Member
Licensed User
Longtime User
Almost worked.
This is what I get when I compile.
B4X:
Parsing code.                           0.04
Compiling code.                         0.30
Compiling layouts code.                 0.03
Generating R file.                      0.39
Compiling generated Java code.          2.05
Convert byte code - optimized dex.      0.92
Packaging files.                        0.25
Copying libraries resources             0.02
Signing package file (debug key).       1.02
ZipAlign file.                          Error          <------------Here
Cannot find:                                           <------------  |
Please configure paths (Tools - Configure Paths).      <------------  |

Whats missing?
 
Last edited:

doogal

Member
Licensed User
Longtime User
Thank you, I have tried this. The script installs the android-sdk for linux and B4A is looking for an exe file which is not included with this. I am getting the error aapt.exe error now and once I get that solved I'm sure the next will be ziplign.exe error. I have tried installing just the sdk for windws through wine, but it will not take. Any ideas??
 

joseluis

Active Member
Licensed User
Longtime User
If you can give me the exact version of 1) the Android API you are installing, 2) which java you have installed and 3) the system you are using, I'll try to replicate it and try to fix it.

for the last 2 things you can just give me the output of these 3 commands:
B4X:
uname -a
cat /etc/lsb-release
java -version
 

doogal

Member
Licensed User
Longtime User
Currently I have API 21 installed and here is the output of the commands you requested:
B4X:
dougie@dougie-X202EV:~$ uname -a
Linux dougie-X202EV 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:30:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

dougie@dougie-X202EV:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"

dougie@dougie-X202EV:~$ java -version
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
dougie@dougie-X202EV:~$
Thank you for your assistance. I would really like to get B4A to compile in Ubuntu and finally get away from Windows.
 

Fusseldieb

Active Member
Licensed User
Longtime User
I would really like to get B4A to compile in Ubuntu and finally get away from Windows.
I have both installed on my notebook, but it would be great to use this application only on Ubuntu, because Ubuntu is significantly faster and boots on my computer under 10 seconds..
 

Fusseldieb

Active Member
Licensed User
Longtime User
I have installed all scripts over there and B4A won't start, it gives the following errors:
B4X:
valentino@valentino-HP:~$ wine '/home/valentino/.wine/drive_c/Program Files (x86)/Anywhere Software/Basic4android/Basic4android.exe'
fixme:wincodecs:pngDecoder_Block_GetCount 0x17edf00,0x32dcc8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x17ee578,0x32dcc8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x17ee578,0x32dcc8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x17ee578,0x32dcc8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x17ee578,0x32dcc8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x17ee578,0x32dcc8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1801ab8,0x32dcc8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x171d438,0x32df68: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x171d0e0,0x32df68: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x171d0e0,0x32df68: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x171d0e0,0x32df68: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x171d0f8,0x32df68: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x171d0e0,0x32df68: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x173bd90,0x32de48: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x173bd90,0x32de48: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x173bd90,0x32de48: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x173bd90,0x32de48: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x178a2f0,0x32de48: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1742088,0x32e0e8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x17420a0,0x32e0e8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1742088,0x32e0e8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1742088,0x32e0e8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x183e870,0x32e0e8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x183e970,0x32e0e8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x17b0158,0x32e0e8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x17b0170,0x32e0e8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x194e738,0x32e3d8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x194c418,0x32e3d8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x197f7e0,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1980220,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1980238,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x197ed30,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1980238,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1914bf8,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1980238,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1914d78,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1914d78,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1914d90,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x201050,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18fae80,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18fae80,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18fae98,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18fafb8,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18fa930,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18fa948,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18fa978,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18fa9a8,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18fa9c0,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18b03c8,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18b03c8,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18b03c8,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18f9c28,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18f9c40,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18f9d40,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18f9c58,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18f9ec0,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18f9c58,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18f9c58,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1899a38,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18f9c58,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1899bb8,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1899bb8,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1899bd0,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1899c00,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1872738,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1872780,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1871768,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1872798,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18718e8,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1872798,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18719c0,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18719c0,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18719f0,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x190f600,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18719f0,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x190f780,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x190f780,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x190f780,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x190f858,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18fbf50,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18fbf50,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1914788,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1914788,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x19164c0,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x13b8038,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x19164c0,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x19041b0,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x19041b0,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1900148,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1900148,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1900148,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1900160,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1900148,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1900160,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x16ad1f0,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x16ad1f0,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x16ad208,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x171bad8,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x171bad8,0x32dcd8: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1955fb0,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1955fb0,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x19715d0,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x19715d0,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x19715d0,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1969c28,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1969c28,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1969c28,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1969c28,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x17199e8,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x17685c0,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x17685c0,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x196f0a8,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x196f0a8,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x196f0c0,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x196f250,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x196f0c0,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x196f250,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1960120,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1960120,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1960150,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1964038,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1960150,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x19641b8,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x19641b8,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1960150,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18ff668,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18ff668,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18ff668,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x19096b0,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18ff668,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x190aae8,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18ff668,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x190ac68,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18ff668,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18ff668,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x190ade8,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1959268,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x190ade8,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1960030,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1937988,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1958130,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1958130,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1958130,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1958130,0x32e318: stub
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:wincodecs:pngDecoder_Block_GetCount 0x1868768,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1868768,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18e2200,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18e2200,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18e2200,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18e2230,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x191e0b0,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x191e0b0,0x32e318: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18792b8,0x32ec78: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18793b8,0x32ec78: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x18792d0,0x32ec78: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x1879538,0x32ec78: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x19d6ca0,0x32ec78: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x19d71a8,0x32ec78: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x19d6cb8,0x32ec78: stub
fixme:wincodecs:pngDecoder_Block_GetCount 0x19d7328,0x32ec78: stub

Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for VisualHint.SmartPropertyGrid.PropertyGrid ---> System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "System.resources" was correctly embedded or linked into assembly "System" at compile time, or that all the satellite assemblies required are loadable and fully signed.
  at System.Resources.ResourceManager.AssemblyResourceMissing (System.String fileName) [0x00000] in <filename unknown>:0
  at System.Resources.ResourceManager.InternalGetResourceSet (System.Globalization.CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) [0x00000] in <filename unknown>:0
  at System.Resources.ResourceManager.GetObject (System.String name, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  at VisualHint.SmartPropertyGrid.PropertyGrid..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at cy..ctor () [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) cy:.ctor ()
  at eh.f () [0x00000] in <filename unknown>:0
  at eh..ctor () [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) eh:.ctor ()
  at d1..ctor () [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) d1:.ctor ()
  at d1.a (System.String[] A_0) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for VisualHint.SmartPropertyGrid.PropertyGrid ---> System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "System.resources" was correctly embedded or linked into assembly "System" at compile time, or that all the satellite assemblies required are loadable and fully signed.
  at System.Resources.ResourceManager.AssemblyResourceMissing (System.String fileName) [0x00000] in <filename unknown>:0
  at System.Resources.ResourceManager.InternalGetResourceSet (System.Globalization.CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) [0x00000] in <filename unknown>:0
  at System.Resources.ResourceManager.GetObject (System.String name, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  at VisualHint.SmartPropertyGrid.PropertyGrid..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at cy..ctor () [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) cy:.ctor ()
  at eh.f () [0x00000] in <filename unknown>:0
  at eh..ctor () [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) eh:.ctor ()
  at d1..ctor () [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) d1:.ctor ()
  at d1.a (System.String[] A_0) [0x00000] in <filename unknown>:0

Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for VisualHint.SmartPropertyGrid.PropertyGrid ---> System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "System.resources" was correctly embedded or linked into assembly "System" at compile time, or that all the satellite assemblies required are loadable and fully signed.
  at System.Resources.ResourceManager.AssemblyResourceMissing (System.String fileName) [0x00000] in <filename unknown>:0
  at System.Resources.ResourceManager.InternalGetResourceSet (System.Globalization.CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) [0x00000] in <filename unknown>:0
  at System.Resources.ResourceManager.GetObject (System.String name, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  at VisualHint.SmartPropertyGrid.PropertyGrid..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at cy..ctor () [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) cy:.ctor ()
  at eh.f () [0x00000] in <filename unknown>:0
  at eh..ctor () [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) eh:.ctor ()
  at d1..ctor () [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) d1:.ctor ()
  at d1.a (System.String[] A_0) [0x00000] in <filename unknown>:0
valentino@valentino-HP:~$

Why?
 

joseluis

Active Member
Licensed User
Longtime User
Good morning. First of all everyone should start using the new updated script B4LinuxInstall and abandon this thread, since the scripts in here are no longer supported.

In second place. I just made an annotated video demoing the installation B4A & B4J with the B4LinuxInstall script.

@doogal I've tested it using your setup and it works. Use the latest version just in case. And make sure you delete (or rename) the installation folder before attempting a new installation. (the folder by default is ~/workspace_b4)

@Fusseldieb try the new script. It also creates launchers for the installed programs. In your log you are using the default installation of wine. That is not the one the script prepares for B4A.
 

Fusseldieb

Active Member
Licensed User
Longtime User
@Fusseldieb try the new script. It also creates launchers for the installed programs. In your log you are using the default installation of wine. That is not the one the script prepares for B4A.
Oh thanks so much for answering me, I will try this tomorrow. I will make a clean install of Ubuntu too, to guarantee that this will be working 100% ;)
 

FabioRome

Member
Licensed User
Longtime User
(google translator)
I have debian 8 64bit, I installed b4j B4A b4i on a virtual machine win7 Pro 32bit (I used KVM)

with new versions of the tools with playonlinux no longer worked
 
Top